Quote:
Today at 05:39 PM Overgrow said this in Post #7
I'm using a modified 2.2.9 and since the mail routines were changed going to 2.3.0, it did not install as described.
|
Here's how to do it for 2.2.9, only one line to change. I have not tested this, since both my server and test server both run 2.3, but it should work. From reading about the PHP mail parameter, it doesn't work sometimes with safe mode is on....
In functions.php, find:
PHP Code:
mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
Replace with:
PHP Code:
$bouncemail = "subscriber_notify@example.com"; // change this to the new email account dedicated to bounced notification emails.
mail($touser[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>"," -f$bouncemail");
If anyone trys this one and it works

, please let me know. I'll add it to the instructions.
Edit: Modified for an enhancement mentioned 3 posts below.