|I'm attempting to have bounced emails go to another email address, however, they are being sent to the email being sent from. This is what I've done (at the bottom of test_smtp.php: |
"Date: ".strftime("%a, %d %b %Y %H:%M:%S %Z")
Bounced messages are still being sent to the original SMTP provider email address that I've sent the email from. Can you suggest how I can change this? This can be done (and works) with the traditional PHP Mail Function:
mail("firstname.lastname@example.org", "subject", "body of message", "From: email@example.com", "-firstname.lastname@example.org");
The part of the code that does this is "-email@example.com".
Any help would be appreciated.