I have bene adding imap reading functionality to a control panel I am building. 66% of the time it connects fine, but the other 33% of the time it times out and I get this error:
Would this be a email server issue, or is there a better way to connect?Array ( [0] => Connection failed to janky.mail.dreamhost.com,143: Connection reset by peer )
Heres the connection string I am using:
Code: Select all
$mbox = imap_open("{janky.mail.dreamhost.com:143/novalidate-cert/notls}INBOX", "email_address", "password");