note 50321 added to function.mail

From: Date: Thu, 24 Feb 2005 17:41:12 +0000
Subject: note 50321 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-85501@lists.php.net to get a copy of this message
for who use qmail ... i know that rfc says that emails MUST contians ONLY CRLF and not bare LF ... but if you don't send headers with ONLY LF at the end of every line of headers ... on windows will works, but on linux you can have problems with headers I get line break casually added into headers. So...HEADERS with LF and BODY with CRLF if you want to get your code work corretly on windows and linux without changing every time your code, use this method :))) good luck :) PS: if your email is recived with strange problems into headers...for example doubled line ending in headers (you see this because you see it into email body) ... check the line ending characters ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50321 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50321&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50321&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50321&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50321&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50321&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50321&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85501) next »