Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
send email failed
shafqat
14y
2.9k
1
Reply
How can i send email to multiple clients located in different domains such hotmail,yahoo,and gmail
is it required to provide Smpt server name, if we have multipe domain id, what should we do?
I am using fowling code but getting exception failed.
MailMessage mailMsg = new MailMessage();
mailMsg .From = "
[email protected]
";
mailMsg .To = "
[email protected]
";
mailMsg .Cc = "
[email protected]
"";
mailMsg .Bcc = "
[email protected]
";
mailMsg .Subject = "SubjectOfTheMailString";
mailMsg .Body = "BodyOfTheMailString";
SmtpMail.Send(mailMsg );
Thanks,
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
rational functional tester
Giving Away Books