Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76681

Re: how to copy emails into local directory?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:into': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cc:name:python list': 0.16; 'code?': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '(the': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'could': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'subject:emails': 0.60; 'to:addr:gmail.com': 0.65; 'mailbox': 0.68; '20,': 0.68
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JM5F0k8fD6lUh8b7C+OFZDSr5OouZVXvK7KFdoyYXrE=; b=VcrhWtwpl6tImK8AAZfJ5+MwzbKUOel5aiKdmzAcM5DgVWDXfyZXdl00imBW60+odi PLKsH9yNEQJIeoU6VPia1gjbrzl3OB3nWJqYtJjjdgPgajucSfgl29sgbY9G42w3FsFf d/Xil+iQ2foq4II1LKr78z52FkgpF6aIjyFIglT1Racv4/GEOmSOwJZ3NrowNqJI3Akb jpDQ9ADge45giMUguQS/bc0Zczi1bsxkNdiDA1w+ed+iJxSQM/ANa9vHkz4fhIKvQTcP p5qnzg3emiyf1tIAS1Da5bzG5xk5NVmTyu8aBMgdwSmgxLNVrJRwv4D3iQYZVLYDAS0s 27rA==
MIME-Version 1.0
X-Received by 10.112.221.37 with SMTP id qb5mr41769617lbc.69.1408563710599; Wed, 20 Aug 2014 12:41:50 -0700 (PDT)
In-Reply-To <53F49010.9020008@gmail.com>
References <53F49010.9020008@gmail.com>
Date Wed, 20 Aug 2014 12:41:50 -0700
Subject Re: how to copy emails into local directory?
From Dan Stromberg <drsalists@gmail.com>
To luofeiyu <elearn2014@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc Python List <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13220.1408563712.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408563712 news.xs4all.nl 2907 [2001:888:2000:d::a6]:50387
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76681

Show key headers only | View raw


On Wed, Aug 20, 2014 at 5:09 AM, luofeiyu <elearn2014@gmail.com> wrote:

> i want to  copy all the emails in the gmailbox of
> "[Gmail]/&kc2JgQ-"  (the important mailbox in my gmail"
> into local directory  "g:\emails",how can i do that in python code?

You could also try
http://wiki.vpslink.com/Mount_a_Gmail_Account_as_a_FUSE_Filesystem

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: how to copy emails into local directory? Dan Stromberg <drsalists@gmail.com> - 2014-08-20 12:41 -0700

csiph-web