IMAP and POP Server Messages

Claus Heiko Niesen cniesen@gmx.net
Mon, 02 Jul 2001 11:07:38 -0500


Would it be possible to display the return message from the IMAP and POP 
server in case the login did not work.  Or is that message in some variable 
that I can echo?  That would help debugging quite a bit.

Also why do the different browsers behave so differently?  For example with 
Netscape 6 I can not log into IMP with two accounts.  The second time I 
load the main IMP login screen it goes directly to my account of the first 
session. However, I can use Internet Explorer to log into two different 
mail accounts at the same time.  Another strange thing is that I do get at 
random (and to often) "Cannot find server" errors in Internet Explorer 
(both version of IMP: 2.2.5 and 2.3.7). This is very frustrating when you 
just wrote a long letter and pressed the send button. Since after you press 
reload the message is gone. I never encountered this problem with Netscape.

Oh, then I would have a nice dream.  Would it be possible to change IMP so 
that one could log into multiple accounts and switch between them like 
switching between folders?

   Claus



>From chuck@horde.org Date: Mon,  2 Jul 2001 12:12:46 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 59649 invoked from network); 2 Jul 2001 16:14:29 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 16:14:29 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 134B639F4; Mon,  2 Jul 2001 12:12:47 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 12:12:46 -0400
Message-ID: <994090366.3b409d7ec8ac1@marina.horde.org>
Date: Mon,  2 Jul 2001 12:12:46 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <5.1.0.14.2.20010702104333.00a7ee30@pop.gmx.net>
In-Reply-To: <5.1.0.14.2.20010702104333.00a7ee30@pop.gmx.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] IMAP and POP Server Messages

Quoting Claus Heiko Niesen <cniesen@gmx.net>:

> Would it be possible to display the return message from the IMAP and POP
> server in case the login did not work.  Or is that message in some variable 
> that I can echo?  That would help debugging quite a bit.

imap_last_error() - http://www.php.net/manual/en/function.imap-last-error.php - 
should give you what you want.

> Also why do the different browsers behave so differently?  For example with 
> Netscape 6 I can not log into IMP with two accounts.  The second time I
> load the main IMP login screen it goes directly to my account of the first 
> session. However, I can use Internet Explorer to log into two different
> mail accounts at the same time.  Another strange thing is that I do get at 
> random (and to often) "Cannot find server" errors in Internet Explorer
> (both version of IMP: 2.2.5 and 2.3.7). This is very frustrating when you 
> just wrote a long letter and pressed the send button. Since after you press 
> reload the message is gone. I never encountered this problem with Netscape.

a). IE lets you launch browsers in seperate processes from each other, and in 
that case doesn't share cookies between them. Netscape shares cookies between 
all open browser instances.

b). What do your webserver logs show in such cases?

> Oh, then I would have a nice dream.  Would it be possible to change IMP so 
> that one could log into multiple accounts and switch between them like
> switching between folders?

Anything is possible if you're willing to write the code.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.