note 47819 added to function.mail

From: Date: Wed, 01 Dec 2004 17:46:44 +0000
Subject: note 47819 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-81228@lists.php.net to get a copy of this message
with a script I previously had running on a unix server I was using \n\r all through the script. On using the same script on a windows server, the mail was getting through, but the message part was only giving me the first line of the message. changing the end of line markers within ONLY the message parameter solved my problem. Hence, just using \n in the message parameter, but \n\r everywhere else worked for me in this instance. ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47819 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47819&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47819&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81228) next »