Attaching a string to an e-mail
I am writing an application to send e-mails. This application will be send attachments which will be created on the fly. I have successfully been able to write the attachment as a file out to the hard drive, then upload that file into the e-mail using CDONTS.
This strikes me as being a very clunky way to approach this problem as it involves disk IO which consumes resources and slows my application down in the long run.
So, can anyone suggest a way that I can directly attach a file created in memory onto an e-mail.