C# SMTP mail problem

D

danyadler

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:[email protected]", 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
 
N

Nick Malik [Microsoft]

Use the built-in features of .Net and you will have no problems.
http://devel.oping.net/content/sending-authenticated-emails-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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top