note 32437 added to ref.mail
| From: | flobee at gmx dot net | Date: | Tue, 27 May 2003 21:56:15 +0000 |
| Subject: | note 32437 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49114@lists.php.net to get a copy of this message | ||
while trying and trying to get text and html mails run... (both: Win / linux:
the one and only fault a made is the the "boundary" definition!
note:
create your own boundary:
$myboundary = "NO_SPACES_SIMPLE_LETTERS_MY_NAME". md5(rand()) ."";
define the boundary:
// in one line
$headers .= "Content-Type: multipart/mixed; boundary=\"$myboundary\"\n";
// using the boundary: "--" starts it
$headers .= "--$myboundary"
// ending it "--" at least!!!
$headers .= "--$myboundary--"
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32437
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32437&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32437&report=yes