Re: How to Attach a File and HTML from a Database?

Giganews Newsgroups
Subject: Re: How to Attach a File and HTML from a Database?
Posted by:  Eric Tipon (delphin…@yahoo.com)
Date: Wed, 23 Jul 2008

Thanks Remy!

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?

eric

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:ABE476DA8C5CE340no.spam@no.spam.com...
>
> "Eric Tipon" <delphin…@yahoo.com> wrote in message
> news:E817AF558C5CE340delphin…@yahoo.com...
>
>> 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
> directly.
>
> Gambit

Replies

None

In response to

Re: How to Attach a File and HTML from a Database? posted by Remy Lebeau \(TeamB\) on Wed, 23 Jul 2008