C# sending mails with images inline using SmtpClient
Posted
by
WebDevHobo
on Stack Overflow
See other posts from Stack Overflow
or by WebDevHobo
Published on 2009-07-31T14:27:32Z
Indexed on
2012/06/12
16:40 UTC
Read the original article
Hit count: 158
SmtpClient() allows you to add attachments to your mails, but what if you wanna make an image appear when the mail opens, instead of attaching it?
As I remember, it can be done with about 4 lines of code, but I don't remember how and I can't find it on the MSDN site.
EDIT: I'm not using a website or anything, not even an IP address. The image(s) are located on a harddrive. When sent, they should be part of the mail. So, I guess I might wanna use an tag... but I'm not too sure, since my computer isn't broadcasting.
© Stack Overflow or respective owner