How to retrive attached file from newsgroup mail
sanjay
sanjay2kind at yahoo.com
Tue Apr 30 10:55:17 EDT 2002
Oleg Broytmann <phd at phd.pp.ru> wrote in message news:<mailman.1020157433.29195.python-list at python.org>...
> On Tue, Apr 30, 2002 at 01:45:42AM -0700, sanjay wrote:
> > Im using NNTP to retrive the newsgroups mails to display on web
> > pages.The email is multipart i,e text/html with doc,pdf,gif file has
> > attached. Is there any python script to get all the plain text/html
> > message with attached file from mail.
>
> http://phd.pp.ru/Software/Python/#extract_mime,
> http://phd.pp.ru/Software/Python/#mimedecode and faster mirrors at
> http://phd.by.ru/Software/Python/ and http://phd2.chat.ru/Software/Python/
>
> I am working on rewriting mimedecode.py to use email package. Actually
> I've finished rewriting it, but the code requires Python 2.3 (i.e. it
> requires my latest patches for the email package).
>
> Oleg.
extract_mime is helpful for 7/8 bit, not for base64(attached file).
any python way to solve it.
More information about the Python-list
mailing list