Re: Help with POP3 multipart TIDMessage containing an email as an attachment

Giganews Newsgroups
Subject: Re: Help with POP3 multipart TIDMessage containing an email as an attachment
Posted by:  Matthew (matthew_delphi_bonn…@yahoo.com.au)
Date: Sun, 22 Jun 2003

Just a nontested idea, I noticed that emails as .EML file attachments
contain the entire email content complete with headers. Maybe try loading
the entire attachment into a second TIdMessage and then use that email as
normal.
HTH

"Scott Gast" <Scot…@texnet.net> wrote in message
news:D7702F1C3674E240Scot…@texnet.net...
> 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

In response to

Help with POP3 multipart TIDMessage containing an email as an attachment posted by Scott Gast on Sat, 21 Jun 2003