note 99060 added to function.mail

From: Date: Sun, 25 Jul 2010 06:59:20 +0000
Subject: note 99060 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-171111@lists.php.net to get a copy of this message
Hello all, I am writing a script to mail a multipart message with an attachement. 1. I create the mime multipart message. 2. Get the email address from the list 3. Then email it using mail. 4. set the $message="". do next iteration from the step 1. it does not show the test part. how ever if i comment the 4 step it sends the text and attachment. same Attachment is added in successive iterations. 2 iteration shows 2 third shows 3 and onwards. This is why I am setting $message=''. This $message="" causes the test message not displayed in the message in inbox. This is a problem. ---- Server IP: 69.147.83.197 Probable Submitter: 115.118.151.79 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/99060 Del: integrated -- https://master.php.net/note/delete/99060/integrated Del: useless -- https://master.php.net/note/delete/99060/useless Del: bad code -- https://master.php.net/note/delete/99060/bad+code Del: spam -- https://master.php.net/note/delete/99060/spam Del: non-english -- https://master.php.net/note/delete/99060/non-english Del: in docs -- https://master.php.net/note/delete/99060/in+docs Del: other reasons-- https://master.php.net/note/delete/99060 Reject -- https://master.php.net/note/reject/99060 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171111) next »