0

I've added img tag to mail body. But it is not display. Please help me.

My code:

string PathLogo = System.Web.HttpContext.Current.Server.MapPath("~/Data/Asset/logosinhan.png");
LinkedResource logo = new LinkedResource(PathLogo);
logo.ContentId = "shinhanlogo";
string imgSrc = "<img src=cid:shinhanlogo/>";
emailInfo.Content = emailInfo.Content.Replace("$Logo", imgSrc)

0 Answers0