I have a client who is experiencing problems with PHP mail() function returns. Currently all mail sent via sendmail is returning TRUE, regardless if the email address is invalid. Why would this be happening?
I have had my client provide me with the headers they are using below:
$return = mail("[email protected]","test","test"); print $return ? "TRUE" : "FALSE"; # TRUE is expected
$return = mail("[email protected]","test","test"); print $return ? "TRUE" : "FALSE"; # FALSE is expected
I have had my client provide me with the headers they are using below:
$return = mail("[email protected]","test","test"); print $return ? "TRUE" : "FALSE"; # TRUE is expected
$return = mail("[email protected]","test","test"); print $return ? "TRUE" : "FALSE"; # FALSE is expected