note 20006 rejected from function.mail by alindeman

From: Date: Tue, 19 Mar 2002 01:05:15 +0000
Subject: note 20006 rejected from function.mail by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27939@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

« previous php.notes (#27939) next »