note 37537 added to ref.mail

From: Date: Wed, 19 Nov 2003 03:37:41 +0000
Subject: note 37537 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-60603@lists.php.net to get a copy of this message
If you decide to send mail over an SMTP connection instead of using mail(), keep these hints in mind: - Separate the header list from the message body with a single blank line. This way if the message body contains text that matches the headers you are safe. - Apply the "hidden dot algirithm" to the body text. This simply means that if a line begins with a single "." just replace it with two dots "..". Example: BEFORE: ------------------- Subject: My message Errors-To: me@mine.com Subject: Lunch Remember the following items: item 1 . . . Item 21 --------------------- AFTER: --------------------- Subject: My message Errors-To: me@mine.com Subject: Lunch Remember the following items: item 1 .. .. .. Item 21 ----------------------- ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37537 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37537&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37537&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60603) next »