|
From: Ken T. <ke...@us...> - 2004-03-18 22:58:21
|
Update of /cvsroot/phpbt/phpbt/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29302/phpbt/inc Modified Files: functions.php Log Message: mail() headers need to be \r\n, not just \n. Index: functions.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- functions.php 12 Oct 2003 21:32:07 -0000 1.45 +++ functions.php 18 Mar 2004 22:48:32 -0000 1.46 @@ -553,9 +553,9 @@ // There have to be no newline at the end of $headers } if (false/*HTML_EMAIL*/) { - $headers .= "Content-Type: text/html; charset=\"".$STRING['lang_charset']."\"\nContent-Transfer-Encoding: "; + $headers .= "Content-Type: text/html; charset=\"".$STRING['lang_charset']."\"\r\nContent-Transfer-Encoding: "; } else { - $headers .= "Content-Type: text/plain; charset=\"".$STRING['lang_charset']."\"\nContent-Transfer-Encoding: "; + $headers .= "Content-Type: text/plain; charset=\"".$STRING['lang_charset']."\"\r\nContent-Transfer-Encoding: "; } // If configured to send MIME encoded emails |