Success verification of mail() function PHP

Posted by Jared on Stack Overflow See other posts from Stack Overflow or by Jared
Published on 2010-05-07T00:15:45Z Indexed on 2010/05/07 0:18 UTC
Read the original article Hit count: 432

Filed under:

Hi

Is it possible to check if the php can get some kind of a ping/flag back from exchange mail server to say "yes, email has been sent off to the intended recipient"?

According to the PHP manual, the return of mail() boolean could mean; "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."

Does this mean, PHP can return success but actually there could be a problem on the mail server that php wouldn't know about it? and in this case no email has been sent and the user is none the wiser?

TIA Jared

© Stack Overflow or respective owner

Related posts about php