note 104394 modified in function.imap-open by danbrown

From: Date: Mon, 13 Jun 2011 14:36:49 +0000
Subject: note 104394 modified in function.imap-open by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180483@lists.php.net to get a copy of this message
If your connection is too slow, try it with port and without domain. <?php //Normal connection $mailbox = imap_open("{SERVER}INBOX", $username, $password); //Faster connection $mailbox = imap_open("{SERVER:143}INBOX", $username, $password); //Very slow connection $mailbox = imap_open ("{SERVER.DOMAIN}INBOX", "DOMAIN/".$username, $password); ?> --was-- If your connection is too slow, try it with port and without domain. //Normal connection $mailbox = imap_open("{SERVER}INBOX", $username, $password); //Faster connection $mailbox = imap_open("{SERVER:143}INBOX", $username, $password); //Very slow connection $mailbox = imap_open ("{SERVER.DOMAIN}INBOX", "DOMAIN/".$username, $password); http://php.net/manual/en/function.imap-open.php

« previous php.notes (#180483) next »