Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

How to get mail error description?

the mail() function

Moderators: macek, egami, gesf

How to get mail error description?

Postby DeVrije » Wed Mar 08, 2006 8:29 am

I want to know what kind of error message is given after my mail function, but I still do not know how. For example in PHP code:

if (mail(..., ..., ..., ...)
echo 'Sent out successfully';
$wrk = ???;
echo 'Cannot be sent out because of ' . $wrk . '.';

Thank you very much for your help!

With kind regards of Jan de Vrije.
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Mar 08, 2006 7:39 am

Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.