If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unanswered: Upload text/html files to database

Hi all

Am developing a mail app using the Persits ASPEmail component. There are a number of methods for attaching the body file for the email - the one I would like to use is to upload and save the body(html)/altbody(text) files in the database.

Then I can just select which body/altbody to use from the database and send the email - that way I can personalise pre-designed pages/files.

I'm fine with uploading the file to the server but am struggling to understand how to store the contents of a file into the database. Anyone know how I do this?