note 111199 added to function.mail

From: Date: Fri, 25 Jan 2013 02:25:21 +0000
Subject: note 111199 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-193383@lists.php.net to get a copy of this message
Its an odd one.. If the recipients are all on Gmail / Google Apps, then not all of the email is received when mail() is used in a foreach loop. It isn't an error with php, our mail server log says they have been sent. Tried it with Yahoo accounts and they all received their email. I put in a sleep(1) and all the emails to Gmail were received okay, so its an issue with Gmail. foreach ($users as $user) { sleep(1); mail(...); } ---- Server IP: 69.147.83.199 Probable Submitter: 202.78.240.7 ---- Manual Page -- http://php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/111199 Del: integrated -- https://master.php.net/note/delete/111199/integrated Del: useless -- https://master.php.net/note/delete/111199/useless Del: bad code -- https://master.php.net/note/delete/111199/bad+code Del: spam -- https://master.php.net/note/delete/111199/spam Del: non-english -- https://master.php.net/note/delete/111199/non-english Del: in docs -- https://master.php.net/note/delete/111199/in+docs Del: other reasons-- https://master.php.net/note/delete/111199 Reject -- https://master.php.net/note/reject/111199 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193383) next »