Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Need help in Sending E-mail Via .Net
Hilbert
Jan 17 2008 1:54 PM
2k
Reply
Hello Friends,
When I tried to send an E-mail through .Net using the following code,
MailMessage msg = new MailMessage("
[email protected]
","
[email protected]
","VS2008 Mail","VS2008 Mail Check");
SmtpClient client = new SmtpClient("smtp.mail.yahoo.com");
client.Send(msg);
I got a message as below:
"
The Smtp Server requires a secure connection or the client was not Authenticated...."
Then it Exits! Can any one of you help me in sorting out this problem.
Thank You in Advance!
Sincerely,
V.Hilbert
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
C#
Dynamic validation of generic method implementaions