I have been experimenting with various methods, but I am struggling to figure out how to insert an image in my code. My goal is to include an image in the body of emails that are being sent out. The image itself is stored in the content folder.
mm.Subject = "CompanyName ";
string body = "Dear " + CustomerMasterObj.CustomerName + ", \n";
body += "\n";
body += "\n";
body += EmailTemplateObj.EmailMsg;
body += "\n";
body += Userurl;
body += "\n";
body += "Thank you in advance. \n";
body += "\n";
body += " Yours sincerely, \n";
body += "\n";
body += "John Doe \n";
mm.Body = body;
mm.IsBodyHtml = false;