Commit 8eba3499 authored by Jan-Erik Revsbech's avatar Jan-Erik Revsbech
Browse files

Fixed bug with htmlmail when running with safe mode enabled.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-7@497 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 2cc325fa
2004-10-25 Jan-Erik Revsbech <jer@moccompany.com>
*Fixed problem in htmlmail when running ith safe mode enabled.
2004-09-24 Michael Stucki <mundaun@gmx.ch>
* Release of TYPO3 3.7.0
......
......@@ -643,11 +643,19 @@ class t3lib_htmlmail {
if ($this->auto_respond_msg) {
$theParts = explode("/",$this->auto_respond_msg,2);
$theParts[1] = str_replace("/",chr(10),$theParts[1]);
mail( $this->from_email,
if(!ini_get('safe_mode')) {
mail( $this->from_email,
$theParts[0],
$theParts[1],
"From: ".$this->recipient,
$returnPath);
}
else {
mail( $this->from_email,
$theParts[0],
$theParts[1],
"From: ".$this->recipient);
}
}
if($this->returnPath) {
ini_restore(sendmail_from);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment