trick to fix some email problems with 0.8.x plugins on 0.9.x
bbPress 0.9 renamed the critical system email address that several plugins rely on (“admin_email” became “from_email”)
Unfortunately many plugin authors aren’t aware of this and the old setting is completely deleted from the database, which makes any older plugin that looks for “admin_email” fail and get a blank address and don’t anticipate/test for a blank. So they blindly insert the blank address into emails which causes the emailer to either fail or bounce the message.
A few of my plugins were affected, I just found another tonight, and there are several third-party ones still unpatched.
You can work around this problem by putting this into your
bb-config.php(anywhere on a new line)
$bb->admin_email = 'firstname.lastname@example.org';
email@example.com the same email address you use inside bbPress on
This won’t hurt anything, causes no extra load of any kind and simply allows older plugins to work without additional edits until the authors get a chance to upgrade them.
(Just remember you “hard coded” this address if you ever change the main one for any reason. You can delete it after 1.0 is out and all plugins have upgraded. In fact the old email address will become unused after all the plugin upgrade anyway so this can’t hurt anything in practice.)
You must be logged in to reply to this topic.