Strip attachments from an email message Icon

Strip attachments from an email message

This recipe shows a simple approach to using the Python email package to strip.

Strip attachments from an email messageOverview

This recipe shows a simple approach to using the Python email package to strip out attachments and file types from an email message that might be considered dangerous. This is particularly relevant in Python 2.4, as the email Parser is now much more robust in handling mal-formed messages (which are typical for virus and Worm emails)

NEW

Fixed some bugs.

Strip attachments from an email messageInformation

Version
1.0
Date
04.12.10
License
Language
English
File Size
N/A
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
getch() Icon
A small utility class to read single characters from standard input
Album Track List Generator Icon
Album Track List Generator allows you to extract artist, album title and track t
Free
Dendrogram drawing Icon
This recipe draws a dendrogram (horizontal format used for evolutionary trees)
Disk Dumper Icon
This recipe will display a hex dump of the disk specified on the command line.
Complex Boolean Regular Expression Class Icon
Need to look for the occurence of words in a string or group of words
Free
Display an Image from a specified file Icon
Reads an image file from the filename specified as the 1st parameter
Free
Quickslice decorator Icon
Quickslice decorator script defines a decorator that allows for an abbreviated
Free
More