Checking Error on Mail()
Shouldn't the code below return as Failed because !!!! is not a valid email address?
I may be wrong, but I could've sworn it used to function that way. Now my server is coming back with Success even though that is obviously not going to send.
from the mail() function page on php.net
Returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise.
It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination.
Taken from Php.net. Therefor !!! would not be a RFC 2822 valid format, and should return with an error... no? Can somebody test my code above and see if you get success? I am trying to see if there is a problem with my server since it has recently upgraded.
Receiver, or receivers of the mail.
The formatting of this string must comply with » RFC 2822. Some examples are:
* email@example.com, firstname.lastname@example.org
* User <email@example.com>
* User <firstname.lastname@example.org>, Another User <email@example.com>
|All times are GMT. The time now is 03:59 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0