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
Kavitha M
NA
21
6.5k
Send Mail from Exchange Server
Jul 15 2015 8:51 AM
Hi,
I want to send mail from exchange server. I want to send mail without password. I use the following code snippet :
MailMessage msg = new MailMessage();
msg.From = new MailAddress("
[email protected]
");
msg.To.Add(new MailAddress("
[email protected]
"));
msg.Subject = "Reg : Timesheet";
msg.IsBodyHtml = true;
msg.Body = "<html><body>" + strMsg + "</body></html>";
SmtpClient client = new SmtpClient("IP address of server", 25);
client.Host = "IP address of server";
client.Send(msg);
But unable to send mail.. Is there any other settings to be done for exchange server ?
Reply
Answers (
1
)
database related
Record not shown on Crystal Report in c# window appl