note 40281 deleted from ref.mail by kennyt

From: Date: Sun, 18 Jul 2004 17:36:28 +0000
Subject: note 40281 deleted from ref.mail by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73525@lists.php.net to get a copy of this message
Note Submitter: michielATnetural.nl ---- 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.

« previous php.notes (#73525) next »