![]() |
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. PHP Code:
|
from the mail() function page on php.net
Return Values 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: * user@example.com * user@example.com, anotheruser@example.com * User <user@example.com> * User <user@example.com>, Another User <anotheruser@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