[wp-trac] [WordPress Trac] #20970: PHPMailer 5.2.1 bundled with WordPress 3.4 can not send mail with php safe mode on.
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 15 17:28:42 UTC 2012
#20970: PHPMailer 5.2.1 bundled with WordPress 3.4 can not send mail with php safe
mode on.
--------------------------+------------------------------
Reporter: sumindmitriy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 3.4
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by bpetty):
This certainly works for a quick hack to get it working again in safe
mode, however, this actually removes PHP Mailer's ability to set the
envelope sender address and it will no longer use -oi with the sendmail
binary changing the behavior of how it handles certain emails.
Optimally, it should only do this if safe_mode is in fact on since that is
the only situation where those features won't be available.
I would attach a patch to do that, but I also think this is something that
should come from an upstream PHP Mailer release where they have done the
appropriate testing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20970#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list