Commit d5d794be authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #2290 get sendmail_path

parent deac90ed
......@@ -734,6 +734,9 @@ class htmlMimeMail
if (!empty($this->return_path)) {
$returnPath = '-f' . $this->return_path;
}
if(ini_get('sendmail_path') <> ""){
$this->setSendmailPath(ini_get('sendmail_path'));
}
$pipe = popen($this->sendmail_path . " " . $returnPath, 'w');
$bytes = fputs($pipe, implode(CRLF, $headers) . CRLF . CRLF . $this->output);
......
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