Help with POP3 multipart TIDMessage containing an email as an attachment

Giganews Newsgroups
Subject: Help with POP3 multipart TIDMessage containing an email as an attachment
Posted by:  Scott Gast (Scot…@texnet.net)
Date: Sat, 21 Jun 2003

Delphi 5 (with service packs installed).
Indy 9.0.11
I *seem* to be successfully iterating through the POP3 multipart messagepart
collection, extracting TIDText (including HTML text) and TIDAttachments. If
the attachment is a file (graphic, zip, doc, or whatever), I successfully
save it in a specified folder....

My problem is that I do not know how to identify if the attachment is an
email, first of all, and secondly, how to extract the data.

Obviously the information is available, but I've had a difficult time
finding it.  Outlook successfully determines if the attachment is an email,
so, I figured that I should be able to, too!

I have code snippits that I'd be happy to share!

Thanks in advance for your help!

Scott Gast
Scot…@texnet.net

Replies