Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: Email Attachments

www.cryer.info
Managed Newsgroup Archive

Re: Email Attachments

Subject:Re: Email Attachments
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 21 Mar 2006 11:19:26

"Anthoni Gardner" <nonononon@nononon.com> wrote in message
news:44205137$1@newsgroups.borland.com...

> I think its to do with the message parts, but not 100% sure.
> Is there anyway I can check if the email contains an attachment
> and then if so remove it totally ?

Yes, you have to use the MessageParts collection.  Simply loop through it
looking for any TIdAttachment instances that are stored in it.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive