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:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Wed, 23 Jul 2008

"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

In response to

How to Attach a File and HTML from a Database? posted by Eric Tipon on Wed, 23 Jul 2008