Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.104 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'subject:Getting': 0.07; 'archiving': 0.09; 'ping': 0.09; 'try:': 0.09; 'chris,': 0.16; 'wrote:': 0.18; 'import': 0.22; 'error': 0.23; 'copied': 0.24; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'host': 0.29; 'testing': 0.29; 'chris': 0.29; "doesn't": 0.30; 'work.': 0.31; 'getting': 0.31; 'subject:from': 0.34; 'problem': 0.35; 'except': 0.35; 'no,': 0.35; 'but': 0.35; 'really': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'even': 0.60; "you're": 0.61; 'back': 0.62; 'header:Message-Id:1': 0.63; 'skip:n 10': 0.64; 'received:79': 0.64; 'accounts': 0.64; 'mail.': 0.69; 'from:addr:mail': 0.83; 'received:212.162': 0.84 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: Getting errors from Imaplib From: Beatrix Willius from Moth Software In-Reply-To: Date: Sun, 30 Nov 2014 15:42:14 +0100 Content-Transfer-Encoding: quoted-printable References: <4B0DF114-E705-47B3-9815-003899F174CE@beatrixwillius.de> To: python-list@python.org X-Mailer: Apple Mail (2.1990.1) X-Info: valid message X-Info: original Date X-Mailman-Approved-At: Sun, 30 Nov 2014 18:03:45 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417367026 news.xs4all.nl 2952 [2001:888:2000:d::a6]:57808 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3528 X-Received-Body-CRC: 1655709292 Xref: csiph.com comp.lang.python:81733 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 >=20 > host =3D 'imap.mail.yahoo.com' > try: > imap_connection =3D imaplib.IMAP4(host) > print('success') > except imaplib.IMAP4.error: > print('authentication failed') > On 30.11.2014, at 13:02, Chris Angelico wrote: >=20 > 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=C3=BC=C3=9Fen/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals