Hi Chris,
no, pinging Yahoo doesn't work. But this is an additional problem - perhaps I
tested too often. This is one of my accounts for Imap testing and I only copied
the value from Mail.
For getting the error back this doesn't really matter.
> import imaplib
>
> host = 'imap.mail.yahoo.com'
> try:
> imap_connection = imaplib.IMAP4(host)
> print('success')
> except imaplib.IMAP4.error:
> print('authentication failed')
> On 30.11.2014, at 13:02, Chris Angelico <[email protected]> wrote:
>
> You're getting an error before it even gets as far as authenticating -
> there's a network-level issue here. Are you able to ping that host?
> Something's not connected.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
--
https://mail.python.org/mailman/listinfo/python-list