Re: Indy 10 attachments

Giganews Newsgroups
Subject: Re: Indy 10 attachments
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Tue, 21 Feb 2006

"Jack Cane" <jwca…@mindspring.com> wrote in message
news:6C1A648134EEE240jwca…@mindspring.com...

> TIdAttachment.Create(IdMsgSend.MessageParts, 'dd:\path\file.ext'');
>
> Would appreciate an update giving the correct syntax for Indy 10

The syntax is exactly the same, except that you need to use the
TIdAttachmentFile class in Indy 10.

    TIdAttachmentFile.Create(IdMsgSend.MessageParts, 'dd:\path\file.ext'');

Gambit

Replies

In response to

Indy 10 attachments posted by Jack Cane on Tue, 21 Feb 2006