Issue #836 has been reported by Frederic Lhoest.

----------------------------------------
Bug #836: CRLF Issue when sending mail
http://tools.lsc-project.org/issues/836

Author: Frederic Lhoest
Status: New
Priority: Normal
Assigned to: Clément OUDOT
Category: Self Service Password
Target version: self-service-password-?


When a mail is sent out of LTB-Project SelfService password portal, the headers 
instructions are not correctly interpreted by the mail client if the platform 
hosting the self service portal is Linux based.
Indeed, the \r\n should be \n only on Linux.

Reference : 
http://stackoverflow.com/questions/4415786/sending-mail-from-php-headers-are-interpreted-as-body
and http://php.net/manual/en/function.mail.php

The file in question is under lib/functions.inc.php

Recommandation is to use the constant PHP_EOL


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to