S
StevenBarnes
I need to have some .Net code be able to send Email using my ISP's SMTP
server. I found some articles on how to use the MAIL FROM: and RCPT TO:
commands that you can stream to a tcp connection on port 25 of the mail
server.
Works nice, but I can only send Emails to addresses on the same domain
as mine (I'm (e-mail address removed). I can send to (e-mail address removed), but not
(e-mail address removed)). I get a code back from the RCPT TO:
command of "relaying denied".
Am I missing some sort of authentication or sign-in process? I can
telnet to the mail server at a DOS command window & see the same
results. I can telnet to the POP3 port (110) & check mail.
There's got to be a very simple (non-commercial, I just need a code
example) way for .Net to do this. Not everyone is running an SMTP on
their own IIS server.
Thanks for any help or direction you can provide!
server. I found some articles on how to use the MAIL FROM: and RCPT TO:
commands that you can stream to a tcp connection on port 25 of the mail
server.
Works nice, but I can only send Emails to addresses on the same domain
as mine (I'm (e-mail address removed). I can send to (e-mail address removed), but not
(e-mail address removed)). I get a code back from the RCPT TO:
command of "relaying denied".
Am I missing some sort of authentication or sign-in process? I can
telnet to the mail server at a DOS command window & see the same
results. I can telnet to the POP3 port (110) & check mail.
There's got to be a very simple (non-commercial, I just need a code
example) way for .Net to do this. Not everyone is running an SMTP on
their own IIS server.
Thanks for any help or direction you can provide!