Removing Email attachments

Tim Williams listserver at tdw.net
Thu Aug 19 10:17:11 EDT 2004


I need to take an email with none or more attachments,  remove attachments
with certain file extensions and then send the remaining email onwards.

The problem is that I can't find out how to remove single attachements,   (I
can add new ones and/or  remove all) .

Am I missing something,  or do I have to create a new email object  from the
remaining bits of the old one ?

(I *have* googled)

TIA





More information about the Python-list mailing list