Revision: 3081
Author:   comel.ah
Date:     Wed May  2 10:05:07 2012
Log:      SimpleSAML_XHTML_EMail: headers separator \r\n -> \n (issue #493).
http://code.google.com/p/simplesamlphp/source/detail?r=3081

Modified:
 /trunk/lib/SimpleSAML/XHTML/EMail.php

=======================================
--- /trunk/lib/SimpleSAML/XHTML/EMail.php       Fri Sep 25 02:54:23 2009
+++ /trunk/lib/SimpleSAML/XHTML/EMail.php       Wed May  2 10:05:07 2012
@@ -90,7 +90,7 @@

 --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'));

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to simplesamlphp-commits@googlegroups.com.
To unsubscribe from this group, send email to 
simplesamlphp-commits+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to