NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||27-04-17 02:24 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015439||phplist application||Message Send Process||public||15-04-10 20:46||12-05-11 15:09|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version||2.10.15|
|Summary||0015439: Safe mode check in class.phpmailer.php may affect return-path header line|
|Description||Reported by headalien on the forum: http://forums.phplist.com/viewtopic.php?f=17&t=29233#p70202 [^]|
==== Start Quote ====
When trying to configure bounces and setting in phplist version 2.10.10
in config.php set and uncommented $message_envelope = 'putemailaddresshere';
Was still getting nobody@ for return-path and envelope in message headers.
Using mail() not smtp as outbound server.
Turns out there is a bug in admin/phpmailer/class.phpmailer.php
on approx line 437 this line always indicates that we are in safe mode and therefore never adds the custom headers
if ($this->Sender != "" && strlen(ini_get("safe_mode"))< 1)
to fix change to
if ($this->Sender != "" && ini_get("safe_mode")< 1)
Note that this works with php5 on linux....not sure about other setups
==== End Quote ====
|Tags||No tags attached.|
|Possibly related to 15273|
just checked and this incorrect safe mode identification still exists in phpMailer5.1
This should really be reported to phpMailer instead. If we patch it, it will reverse in the next upgrade.
there's an issue in phpMailer that is reported "fixed" that addresses it:
I'll patch it the same way, in the hope it'll work in the future.
|Copyright © 2000 - 2017 MantisBT Team|