Note: This is particularly with respect to Email Helper in WebPages/Razor. Please don't post links using System.Net.Mail object.
Following this tutorial: http://www.asp.net/webmatrix/tutorials/9-adding-email-to-your-website
Under "Sending a File Using Email" section what exactly is the code trying to do.
1: The SendFile.cshtml does not have any option to select file.
2: ProcessFile.cshtml is running fine. I am getting the email but no attachement.
I tried changing fileAttachment input to type="file" but not file is being sent to my email. I just get the message send in body.
Question: How exactly this file attachment works using Email Helper in WebPages.
View Complete Post