Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81733 > unrolled thread
| Started by | Beatrix Willius from Moth Software <mail@beatrixwillius.de> |
|---|---|
| First post | 2014-11-30 15:42 +0100 |
| Last post | 2014-11-30 15:42 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Getting errors from Imaplib Beatrix Willius from Moth Software <mail@beatrixwillius.de> - 2014-11-30 15:42 +0100
| From | Beatrix Willius from Moth Software <mail@beatrixwillius.de> |
|---|---|
| Date | 2014-11-30 15:42 +0100 |
| Subject | Re: Getting errors from Imaplib |
| Message-ID | <mailman.16439.1417367026.18130.python-list@python.org> |
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 <rosuav@gmail.com> 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
Back to top | Article view | comp.lang.python
csiph-web