Closed (fixed)
Project:
HTML Mail
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 May 2011 at 11:24 UTC
Updated:
10 Jun 2011 at 11:31 UTC
From php mail() docs: The additional_parameters parameter is disabled in safe_mode and the mail() function will expose a warning message and return FALSE when used.
So on line 202, the fifth parameter should not be added at all if safe mode is enabled; it will not only be ignored, the mail will fail.
Comments
Comment #1
sgabe commented@pillarsdotnet: Just a note, but this is exactly what I meant when I said that "even the bugs are the same". See #261028: SMTP Return-Path Setting in Mime Mail's issue queue. :)
Comment #2
pillarsdotnet commentedWeird.
In most parts of PHP, passing NULL to a parameter is the same as not passing that parameter at all. But I guess this is just one more case of PHP being inconsistent with itself.
Fixed in -dev; will roll a new release shortly.
Comment #3
pillarsdotnet commentedFixed in 7.x-2.48 release.
@sgabe: The difference is that bugs reported in the HTML Mail issue queue get fixed in a timely manner.
Comment #4
sgabe commentedI just want to remind you that for more than one year nothing happened in HTML Mail's issue queue. It's nice that you have time now to work on the module, but these are big words after 3 months of maintaining. :)
Comment #5
pillarsdotnet commentedI wasn't involved with the project at that point.