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?