Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Torrie Newsgroups: comp.lang.python Subject: Re: Scraping email to make invoice Date: Mon, 25 Apr 2016 11:16:47 -0600 Lines: 16 Message-ID: References: <571D548D.2040500@gmail.com> <571E50FF.9010507@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de q1wzvGwRedilBVPFMUCT8wYwD3C/dXDKKqy6ew8aznEw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.085 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'special,': 0.09; 'explicitly': 0.15; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'url:accounts': 0.18; 'password.': 0.22; 'am,': 0.23; 'plain': 0.24; 'header:In-Reply- To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'good.': 0.32; 'message-id:@gmail.com': 0.34; 'ahead': 0.35; 'too': 0.36; 'basic': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; '(with': 0.38; 'no,': 0.38; 'google': 0.39; 'url:en': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'wish': 0.71; 'actually,': 0.84; 'dead.': 0.84; 'miserable': 0.84; 'edwards': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <571E50FF.9010507@gmail.com> X-Mailman-Original-References: <571D548D.2040500@gmail.com> Xref: csiph.com comp.lang.python:107618 On 04/25/2016 08:39 AM, Grant Edwards wrote: > Your normal gmail password is used for IMAP. Actually, no, unless you explicitly tell Google to allow "less-secure" authentication. Otherwise you are required to set up a special, application-specific password. https://support.google.com/accounts/answer/185833?hl=en > Warning: don't use the basic imaplib. IMAP is a miserable protocol, > and imap lib is too thin a wrapper. It'll make you bleed from the ears > and wish you were dead. Use imapclient or imaplib2. I've used both > (with Gmail's IMAP server), and IMO both are pretty good. Either one > is miles ahead of plain imaplib.