[Tutor] MIME parser
Asif Iqbal
vadud3 at gmail.com
Thu Dec 11 18:25:26 CET 2008
On Thu, Dec 11, 2008 at 11:49:16AM, Asif Iqbal wrote:
> I am looking for a way to feed a message from stdin to a python based
> mime parser, detach all attachments and drop them to a dir, and then
> send the email to the recipient. The attachment(s) will be replaced
> by an URL to a link.
>
> So basically decouple the attachments (>1MB in size) and modify the
> body by inserting an URL in the footer.
>
> Has anyone done anything like this?
>
I am looking at email pkg. Now I need to find a way to feed the msg
from stdin and then detach all attachments and update the body with
urls pointing to attachments
>
--
Asif Iqbal
Google Chat: vadud3 at gmail.com
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the Tutor
mailing list