Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: Email Attachments
| Subject: | Re: Email Attachments |
| Posted by: | "Anthoni Gardner" (nononon..@nononon.com) |
| Date: | Tue, 21 Mar 2006 19:24:59 |
Hi Remy,
> Yes, you have to use the MessageParts collection. Simply loop through it
> looking for any TIdAttachment instances that are stored in it.
Thank you for the super fast answer.
So if I loop through that collection and find any TIDAttachment instances,
then its 100% guarenteed there is an attachment to it, and therefore I can
safely discard it ?
I just want to read the normal text version of the email (idMessage.Body)
and not anything with attachments.
Regards
Anthoni