Since no one seems to know about the debug feature, let me ask about the
imap argument directly. None of the following work, always "Couldn't
open stream":
mail.usservas.org:143
mail.usservas.org:110
mail.usservas.org:143/imap
mail.usservas.org:110/pop3
mail.usservas.org:143/imap/notls
mail.usservas.org:110/pop3/notls
mail.usservas.org:143/imap/ssl/novalidate-cert
mail.usservas.org:110/pop3/ssl/novalidate-cert
The only mention of imap in phpinfo() is in the "imap" section:
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled
I can manually log in to pop3 and imap through telnet, so I'm at a
loss. Am I leaving something important out? I'm running PHP 5.2.1 on
Apache 2.0
John
John Gunther wrote:
I'm trying to use imap functions for the first time and always get
"Couldn't open stream" errors so I turned on both kinds of debugging.
Unfortunately I can't find debugging output anywhere. What am I doing
wrong? Here's my code:
ini_set('error_log','/tmp/imap.txt');
$po='{mail.usservas.org:143/debug}';
$mbox = imap_open($po, $user, $password ,OP_DEBUG);
Thanks for the help.
John Gunther
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php