I have created an asp.net form in vb.net that sends an activation email after it is filled out and I was wondering how to attach a file(s) to the activation email sent out after the form is submitted.
The function I believe to use after the 'mail.body' portion is:
Dim attachment as New MailAttachment(Server.MapPath("test.txt"))
The portion that is confusing me is what parts above need to be filled in with an actual value. Also, do I need to store the files in a location such as an FTP client or db (at the moment they are on my hardrive).
View Complete Post