【发布时间】:2011-04-16 17:51:32
【问题描述】:
我有以下代码将图像附加到电子邮件中,但我需要将此图像嵌入到电子邮件的 html 中。
有什么想法吗??
objMM.Attachments.Add(new MailAttachment(Server.MapPath("images1/links/beach-icon.jpg")))
objMM.Body = "<p>There should be an attachment</p> <img src='beach-icon.jpg' /> <p>with this email</p>"
【问题讨论】: