James Rocks wrote: > OK ... so I got my mail receipt working (thanks Rikard) but one thing > I will be downloading is attached TRN files. > > I can download a mail and subsequently put it in a text file but then > I want as easy a way as possible (which may or may not involve > uudecoding, there may well be a way to simply pull the attached file > off for all I know) to get that file from either trhe text file or > the mail object:
It sounds like you need to use the email package to pull apart a multi-part mime message. The last example here may help: http://docs.python.org/lib/node162.html Kent _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
