Re: Indy 10 attachments

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

"Jack Cane" <jwca…> wrote in message

> 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'');



In response to

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