|Subject:||Re: How to Attach a File and HTML from a Database?|
|Posted by:||Eric Tipon (delphin…@yahoo.com)|
|Date:||Wed, 23 Jul 2008|
since it's a TMemory class, it doesn't matter what will be the content
right? whether it's an HTML, images or plain text..Am I right?
"Remy Lebeau (TeamB)" <firstname.lastname@example.org> wrote in message
> "Eric Tipon" <delphin…@yahoo.com> wrote in message
>> Is it correct to read the file from the database into a stream first,
>> then attach it to IdMessage?
> Indy has a TIdAttachmentMemory class that can be used for that. Or else
> write your own TIdAttachment descendant that reads from the database
Re: How to Attach a File and HTML from a Database? posted by Remy Lebeau \(TeamB\) on Wed, 23 Jul 2008