note 27467 added to function.mail
| From: | ritter at rack1 dot php dot net | Date: | Fri, 06 Dec 2002 19:54:19 +0000 |
| Subject: | note 27467 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40440@lists.php.net to get a copy of this message | ||
First I wondered why only the first part of my HTML mail came through while using mail().
Then I read that:"RFC 821 prohibits lines longer than 998 bytes, and requires that all servers
be able to accept 998-byte lines. In practice, users sometimes send longer lines. ".
So don't forget to do a "\n" at least every 998 bytes in your $message. ;)
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+27467
http://master.php.net/manage/user-notes.php?action=delete+27467
http://master.php.net/manage/user-notes.php?action=reject+27467