By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,760 Members | 1,630 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,760 IT Pros & Developers. It's quick & easy.

C# SMTP mail problem

P: n/a
Hi everyone,

I've found this code that can send SMTP commands via sockets (25).
The problem is when I send the command: "rcpt to:wh******@yahoo.com", I
get a server response: "503 This mail server requires authentication
....".
Is there a way to create this authentication, to make this happen?

Thanks in advance,
Danny

Mar 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Use the built-in features of .Net and you will have no problems.
http://devel.oping.net/content/sendi...-in-net-2.aspx

You can send Authenticated SMTP using .Net 1.1 as well... but the technique
is a bit different.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
<da*******@yahoo.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
Hi everyone,

I've found this code that can send SMTP commands via sockets (25).
The problem is when I send the command: "rcpt to:wh******@yahoo.com", I
get a server response: "503 This mail server requires authentication
...".
Is there a way to create this authentication, to make this happen?

Thanks in advance,
Danny

Mar 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.