note 40281 added to ref.mail

From: Date: Fri, 27 Feb 2004 10:21:45 +0000
Subject: note 40281 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-65868@lists.php.net to get a copy of this message
In reaction to "grey at greywyvern dot com"'s socketmail(). If you send a larger batch before clossing the connection it might happen that the last few messages weren't send. Add a usleep(microseconds) AFTER the QUIT command and BEFORE the fclose() command. This gives the server some time to send all the messages. I tried it with 0.5 and 0.1 seconds, it seemed enough on a 55kb email. 0.01 seconds seems to be too short. ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40281 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40281&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40281&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65868) next »