Skip to content
Snippets Groups Projects
Commit 78a53563 authored by Andjelko Horvat's avatar Andjelko Horvat
Browse files

SimpleSAML_XHTML_EMail: headers separator \r\n -> \n (issue #493).

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3081 44740490-163a-0410-bde0-09ae8108e29a
parent c0a5dade
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ Content-Transfer-Encoding: 8bit
--simplesamlphp-' . $random_hash . '--
';
$headers = join("\r\n", $this->headers);
$headers = implode("\n", $this->headers);
$mail_sent = @mail($this->to, $this->subject, $message, $headers);
SimpleSAML_Logger::debug('Email: Sending e-mail to [' . $this->to . '] : ' . ($mail_sent ? 'OK' : 'Failed'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment