debugging imap_open
| From: | John Gunther | Date: | Fri, 09 Nov 2007 19:35:17 +0000 |
| Subject: | debugging imap_open | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-264283@lists.php.net to get a copy of this message | ||
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