10-23-2008, 01:36 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Oct 2008
Location: Florida
Posts: 5
Thanks: 1
|
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:
if (mail('!!!','Test Message','This is my message.','FROM: Name<email@email.com>')) {
echo "Success";
} else {
echo "Failure";
}
|
|
|
|