[Typo3-dev] Return-Path in Direct Mail
Karsten Dambekalns
k.dambekalns at fishfarm.de
Thu Apr 22 17:41:56 CEST 2004
Hi!
While fighting with direct mail, I stumbled accross the fact that
setting a 'Return-Path' in the module configuration didn't have any
effect.
I tracked this down, and the entry *is* used to set a Return-Path
header. But this obviously gets overwritten by sendmail again.
It might be better to add the use of a fifth parameter to the calls to
mail() in the htmlmailer class function sendTheMail() that adds
'-f$this->returnPath', if it is set.
*But*: "This fifth parameter was added in PHP 4.0.5. Since PHP 4.2.3
this parameter is disabled in safe_mode and the mail() function will
expose a warning message and return FALSE if you're trying to use it."
Thoughts?
Karsten
More information about the TYPO3-dev
mailing list