Adding an Attachment from an ASP.Net page with VB.Net
Posted on 2012-08-16
I have a page that allows a user to submit a ticket to our Help Desk ticketing system Remedy.
For some issues and requests the amount of information required is rather complex. The solution has been to generate a formatted RTF file that contains all of the information submitted.
In testing I've been able to create the file and save it to my hard drive, but for this particular page it wouldn't be acceptable to have the user click an attach button and then browse to the file.
I really want to be able to save it in the memory space of the page itself, specify the name of the attachment and have it sent on submit.
Could someone direct me to an example?
Thanks in advance,