note 82037 deleted from ref.mail by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 20:02:30 +0000 |
| Subject: | note 82037 deleted from ref.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155316@lists.php.net to get a copy of this message | ||
Note Submitter: sgirard[at]please.no.ROSSPRINT.spam.com
----
Thanks to rob at withoutsin dot com for his authMail routine.
In my case I found it necessary to loop though all the output from the server in response to AUTH
LOGIN before I got to the actual username request. Here's what did the trick on my setup:
<?php
for ($i=1; $i<20; $i++) {
fgets($smtpConnect, 4096);
}
?>
You should be able to use the $logArray to find the magic number for your server.
-sean