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