How to Attach a File and HTML from a Database?

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

What is the most appropriate way to attach a file from a Database? I'm
currently looking at TIdMessageBuilderHTML because there are times that I
need to attach an HTML file too.

Is it correct to read the file from the database into a stream first, then
attach it to IdMessage?

Thanks for any suggestions.

Replies