I have a need to poll a mail server and then extract a photo that is either embedded or attached to the email message.
The goal is to extract the photo and save it to a disk file. The desired functionality is much like emailing a photo from your phone to Twitter, Flickr, etc.
Any insights/advice appreciated.
Thanks