note 20006 added to function.mail

From: Date: Tue, 19 Mar 2002 01:02:17 +0000
Subject: note 20006 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-27938@lists.php.net to get a copy of this message
Does anyone can help me? I woud like to place "Content-type: multipart/mixed;" and all a MIME content... but that doesn't work.... for exemple, I have: $mailTo = "rhapirou@yahoo.fr"; $mailSubject = "<-- Test... ne pas tenir compte de ce mail -->"; $mailHeader = "MIME-Version: 1.0\n"; $mailHeader .= "From: test@testing.test\n"; $mailHeader .= "Content-type: multipart/mixed; boundary=\"simple boundary\"\n --simple boundary This is implicitly typed plain US-ASCII text. It does NOT end with a linebreak. --simple boundary Content-type: text/plain; charset=us-ascii This is explicitly typed plain US-ASCII text. It DOES end with a linebreak. --simple boundary--"; $mailBody = " This is the epilogue. It is also to be ignored."; mail($mailTo, $mailSubject, $mailBody, $mailHeader); thinks -- http://www.php.net/manual/en/function.mail.php http://master.php.net/manage/user-notes.php?action=edit+20006 http://master.php.net/manage/user-notes.php?action=delete+20006 http://master.php.net/manage/user-notes.php?action=reject+20006

« previous php.notes (#27938) next »