note 74562 added to ref.mail
| From: | noah at ouvyt dot com | Date: | Tue, 17 Apr 2007 15:55:51 +0000 |
| Subject: | note 74562 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125524@lists.php.net to get a copy of this message | ||
I spent a long time being frustrated by lines not breaking correctly in my plain text emails using
\r\n. It tried everything from wordwrap() to str_replace, nothing.
Just a word of advice to those starting out. Sometimes it is a simple problem. Turns out my
Content Type was set to text/html NOT text/plain. Simple switch and voila!
----
Server IP: 69.39.81.135
Probable Submitter: 38.115.182.4
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- https://master.php.net/note/edit/74562
Del: integrated -- https://master.php.net/note/delete/74562/integrated
Del: useless -- https://master.php.net/note/delete/74562/useless
Del: bad code -- https://master.php.net/note/delete/74562/bad+code
Del: spam -- https://master.php.net/note/delete/74562/spam
Del: non-english -- https://master.php.net/note/delete/74562/non-english
Del: in docs -- https://master.php.net/note/delete/74562/in+docs
Del: other reasons-- https://master.php.net/note/delete/74562
Reject -- https://master.php.net/note/reject/74562
Search -- https://master.php.net/manage/user-notes.php