Hi Markus,

Well that was it,  Adding IdAttachmentFile to my users clause, and then 
using TIdAttachmentFileMarkus.

All the code I had been looking at  must have been for Indy9 - trap for 
beginners.


Thanks
Gordon.



> Hi,
>
> try this:
>
> uses ..., IdAttachmentFile;
>
> begin
>    p := idMessage.MessageParts;
>    idAttach := TIdAttachmentFile.Create(p, 'c:\pagefile.sys');
> end;
>
> HTH,
> Markus
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>   


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to