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
Vishwas Kadamannaya
1.6k
122
142.5k
How to change font color of Message body
Jul 4 2011 7:14 AM
Hi All,
I use the below code to send mail message to particular email. how i can change the font and its color of string message .
public void SendMailMessage(string from, string to, string bcc, string cc, string subject, string body)
{
SmtpClient emailClient = new SmtpClient("");
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(from, to, "Mail", body);
message.IsBodyHtml = true;
System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential("", "");
emailClient.UseDefaultCredentials = false;
emailClient.Credentials = SMTPUserInfo;
emailClient.Port = 25;
emailClient.Host = "";
emailClient.Send(message);
}
Thanks in Advance
Reply
Answers (
5
)
How can we get text box value which is built in gridview
Update GridView