This seemed to work.
#!/usr/bin/env python3
from email.mime.image import MIMEImage
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.iterators import typed_subpart_iterator
from email.generator import Generator, BytesGenerator
import email.iterators
imp
On 04/21/2013 01:31 PM, Jason Friedman wrote:
I will be receiving email that contains, say, 10 images, and I want to
forward that message on after removing, say, 5 of those images. I will
remove based on size, for example 1679 bytes. I am aware that other images
besides the unwanted ones could