View Issue Details

IDProjectCategoryView StatusLast Update
0012625phpList 3 applicationCampaign Send Processpublic05-06-13 16:37
Reporterdavideg Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version2.10.5 
Target Version2.10.7 
Summary0012625: safe_mode activity not correctly identified = sendmail_from wrong
DescriptionOn "admin/phpmailer/class.phpmailer.php" line 430:

if ($this->Sender != "" && strlen(ini_get("safe_mode"))< 1)

strlen of init_get(safe_mode) is always 1 even if safe_mode is set to 0, so the cycle below is always skip and the envelope from is not set even if safe_mode is disabled.

SOLUTION:
Change the line above with:

if ($this->Sender != "" && ini_get("safe_mode")< 1)

Regards
TagsNo tags attached.

Relationships

related to 0003721 closed phplist 2.10.x 
has duplicate 0015439 resolvedmichiel Safe mode check in class.phpmailer.php may affect return-path header line 

Activities

michiel

05-06-13 16:37

administrator   ~0052099

safe mode is soon deprecated