note 93665 deleted from language.operators.errorcontrol by danbrown
| From: | danbrown@php.net | Date: | Tue, 22 Sep 2009 14:41:32 +0000 |
| Subject: | note 93665 deleted from language.operators.errorcontrol by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160929@lists.php.net to get a copy of this message | ||
Note Submitter: alejandro at indissoluble dot com
----
I use the @ for sending emails, so I can control the status of the email sent avoiding the errors
message when, for instance, the server respond the user is unknown.
example:
if (@mail($to,$from,$body,$header)) do_domething();
else give_error_message();
Hope this be useful!