Email 發送內嵌圖片

Send an Email in C# with InLine attachments

This is a SMTP client implementation in C# permits to send Inline attachment in your email messages (using the MailMessage class of System.Net.Mail namespace is possible only to send normal attachments).

To show an image inside the body of the email without link to external site is necessary to add the attachment in the header of message and call it from the HTML section of the body. Using the MailMessage and the SmtpClient classes is not enough set the Inline property to True to show the image:

http://blog.devexperience.net/en/12/Send_an_Email_in_CSharp_with_Inline_attachments.aspx

如何發送內嵌圖片的 E-mail ( Inline Attachment )
http://blog.miniasp.com/post/2008/02/06/How-to-send-Email-with-embedded-picture-image.aspx

沒有留言: