Send email attachments from a DB with Indy
Posted on 2004-04-19
I'm using indy in a Delphi 5 development to send emails, and I want to attach PDF doc's, however the PDF docs are in a blob field in a SQL server DB.
Is there a way to stream direct from the blob field to the attachment, without having to write it to a file.
I really don't want to have to create files, I know this would be simpler in many ways, but with many users using the system it becomes more complex etc...