[imp] function to check if mail server is down

Joost De Cock joost.decock@astrid.be
Fri, 30 Aug 2002 09:57:22 +0200


It's not a patch but an idea:

How about not checking it, (no performance dip) but returning a message
like:

"Login failed for some reason. Most likely your username or password was
entered incorrectly. Maybe your mailserver is down, click here to test it."

Or whatever, point is, you would only affect performance if t doesn't work
in the first place, and on the user's request.

Please feel free to inform me if I'm full of crap.

Joost


-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck@horde.org]
Sent: vrijdag 30 augustus 2002 4:14
To: imp@lists.horde.org
Subject: Re: [imp] function to check if mail server is down


Quoting Jie Gao <J.Gao@isu.usyd.edu.au>:

> It would be good to have a function to check if the imap/pop server is
> up at user login and give an appropriate message instead of just saying
> the user has entered a wrong login name or password.

If you can supply a patch that doesn't affect performance adversely, that'd
be great.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot

-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org



**********************************************************************
The information in this mail is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the 
information contained in the email.
**********************************************************************