I have a form which uploads an image to the server, and I am abl to get the filename of the image and other data inside the form.
How would I convert the image to string to be included in a html email?
This is the code which gives me my filename.
string PostedFileName = "not_set";
foreach (string fileName in HttpContext.Current.Request.Files)
{
HttpPostedFile file = HttpContext.Current.Request.Files[fileName];
PostedFileName = fileName;
}
MessageSent("TRUE - " + PostedFileName);