note 30280 added to ref.mail
| From: | Joscha at rack1 dot php dot net | Date: | Wed, 12 Mar 2003 21:53:08 +0000 |
| Subject: | note 30280 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45177@lists.php.net to get a copy of this message | ||
Never forget the header
Content-type: text(/html); charset=iso-XXXX-XX\r\n"; (Where XXXX-XX stands for the charset and
HTML is optional - don't write HTML when you send plain text mails)
If you forget to set this header, Outlook Express shows the mail correctly but Outlook has probs
with it.
Outlook build 9: No newlines will appear in the mail
Outlook build 10: After every line a second newline will appear.
After setting the header, the mail will be shown correct in all email programs.
(Keywords: newline, outlook, outlook express, \n\r, \r\n, double newlines, no newline)
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+30280
http://master.php.net/manage/user-notes.php?action=delete+30280
http://master.php.net/manage/user-notes.php?action=reject+30280