Hi,
I'm using the mail function in a script. Does anyone know how to check if a mail has actually been sent.
Cheers
no errors mean 90 % the mail has been sent
Thanks, but I wanted to do something like this for the users
if (mail_is_sent) { echo "Mail Send....OK"; }
Any ideas how I build the if statement?
if (mail()) echo "mail sent"
since the mail() function return a boolean value
Thanks, It works great. I'd tried If (isset etc... and just got errors