I've been using the simple MAPI approach to send reports from my application out to users via email. The problem is that I'm attaching the report to the email and some users either aren't capable of opening attachments or their emails server, virus checker doesn't like the attachments and deletes them.
I'd like to show the reports in the body of the email. I'm able to get the contents of my text files from the hard drive into the body of the email but I'm losing the formatting like line feeds and carriage returns.
Any ideas of how to display a simple text file within the email rather than attaching it to the email?
Thanks,
Sam
I'd like to show the reports in the body of the email. I'm able to get the contents of my text files from the hard drive into the body of the email but I'm losing the formatting like line feeds and carriage returns.
Any ideas of how to display a simple text file within the email rather than attaching it to the email?
Thanks,
Sam