TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Faiza shafi
NA
20
4.6k
send logo in email body
Oct 31 2017 1:57 PM
I want to send logo in the top center of email body in c# winform, Please guide me as I am a new developer.
Here is the code :
AlternateView htmlView = AlternateView.CreateAlternateViewFromString(messageHtml, null, "text/html");
LinkedResource logo = new LinkedResource("d:/logo.jpg");
logo.ContentId = "Companylogo";
htmlView.LinkedResources.Add(logo);
msg.To.Add(myEmail);
msg.From = new MailAddress("
[email protected]
");
msg.CC.Add(copy);
msg.Subject = (sbj_txt.Text);
msg.AlternateViews.Add(htmlView);
client.Send(msg);
Thanks
Faiza
Reply
Answers (
8
)
datagridview currentrows non-edit
How to solve this dll error