[Typo3-dev] safe mode and mail() in class.t3lib_htmlmail.php
Lars E. D. Jensen
ledj-typo3 at dcmedia.biz
Mon Oct 25 10:27:54 CEST 2004
When trying to send a normal mail from a standard mailform I get this
warning when safe mode is enabled:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is
disabled in SAFE MODE.
in /var/lib/typo3/typo3_src-3.7.0/t3lib/class.t3lib_htmlmail.php on line
650
if ($this->auto_respond_msg) {
$theParts = explode("/"
$this->auto_respond_msg,2);
$theParts[1] = str_replace("/",chr(10)
$theParts[1]);
mail( $this->from_email,
$theParts[0],
$theParts[1],
"From: ".$this->recipient,
$returnPath); # line 650
}
The mail gets send though, but the function should be made compatible with
safe mode. Don't know how since the fifth parameter is disabled in safe
mode.
Maybe a misconfiguration of the server but I doubt that.
--
Med venlig hilsen / Best regards
Lars E. D. Jensen - DCmedia - TYPO3 Business Solutions
+45 3116 5002 / +45 3695 9177
ledj at dcmedia.biz - http://dcmedia.biz
More information about the TYPO3-dev
mailing list