How do I configure SMTP on Windows XP Pro SP 2?

G

Guest

I'm working with a third-party SMTP component and I tell it to use the SMTP
service that's on my machine (localhost). I've only been successful in
having it send myself an e-mail on this machine. If I give it a To: address
outside of my own machine, like my ISP, the SMTP server refuses to relay it,
at least using this component. I've been able to successfully send mail out
using the SmtpMail class in .Net, which uses the CDOSYS components, which in
turn use the SMTP service on my machine in some capacity.

What the third-party component is doing is issuing commands directly to the
SMTP server. Here's the output when I attempt to have it relay a message
outside of my machine:

[11/12/2004 17:15:08:152]-----> EHLO localhost
[11/12/2004 17:15:08:152]<----- 220 MarkNotebook Microsoft ESMTP MAIL
Service, Version: 6.0.2600.2180 ready at Fri, 12 Nov 2004 17:15:08 -0800
[11/12/2004 17:15:08:403]<----- 250-MarkNotebook Hello [127.0.0.1]
[11/12/2004 17:15:08:403]<----- 250-SIZE 2097152
[11/12/2004 17:15:08:403]<----- 250-PIPELINING
[11/12/2004 17:15:08:403]<----- 250-DSN
[11/12/2004 17:15:08:403]<----- 250-ENHANCEDSTATUSCODES
[11/12/2004 17:15:08:403]<----- 250-8bitmime
[11/12/2004 17:15:08:403]<----- 250-BINARYMIME
[11/12/2004 17:15:08:403]<----- 250-CHUNKING
[11/12/2004 17:15:08:403]<----- 250-VRFY
[11/12/2004 17:15:08:403]<----- 250 OK
[11/12/2004 17:15:08:403]Connected
[11/12/2004 17:15:08:403]Addressing the message
[11/12/2004 17:15:08:403]-----> MAIL FROM:<e-mail address>
[11/12/2004 17:15:08:443]<----- 250 2.1.0 <e-mail address>....Sender OK
[11/12/2004 17:15:08:443]-----> RCPT TO:<e-mail address>
[11/12/2004 17:15:08:453]<----- 550 5.7.1 Unable to relay for <e-mail address>
[11/12/2004 17:15:08:453]Rejected(1): <e-mail address>
[11/12/2004 17:15:08:453]There are no valid recipients.
Common remedy: Try using authentication or check the log file for more error
message details.
[11/12/2004 17:15:08:453]-----> QUIT
[11/12/2004 17:15:08:453]<----- 221 2.0.0 MarkNotebook Service closing
transmission channel
[11/12/2004 17:15:08:543]

I went to the component software company and asked them about this. They
said the SMTP server is asking for authorization. So I tried also setting
authorization credentials, and this is the output I got:

[11/12/2004 17:20:45:187]Connected
[11/12/2004 17:20:45:187]Authenticating
[11/12/2004 17:20:45:187]-----> AUTH LOGIN
[11/12/2004 17:20:45:187]<----- 504 5.7.4 Unrecognized authentication type
[11/12/2004 17:20:45:187]Authentication Failed: Plain Text authentication
not supported
[11/12/2004 17:20:45:187]

Basically I'm trying to make it possible for the component to send messages
to a mailing list. It's not spam. It's to a list of students in a class,
who all have e-mail addresses with other ISPs.

I've tried looking up help on XP about configuring the SMTP service on XP
Pro. While I've found documentation on how to configure it, the
documentation appears to be incorrect, because it directs me to look for a
MMC configuration snap-in which I don't appear to have. Or, much of the
documentation talks about configuring SMTP in conjunction with Exchange
Server. Do I need Exchange Server in order to do this?

Thanks in advance.
 
D

Doug Knox MS-MVP

Many ISP's e-mail servers will not relay mail from another mail server. If you're providing a valid ISP account information, when using CDO, then its treated just like you used Outlook, Outlook Express or another e-mail client.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

Mark Miller said:
I'm working with a third-party SMTP component and I tell it to use the SMTP
service that's on my machine (localhost). I've only been successful in
having it send myself an e-mail on this machine. If I give it a To: address
outside of my own machine, like my ISP, the SMTP server refuses to relay it,
at least using this component. I've been able to successfully send mail out
using the SmtpMail class in .Net, which uses the CDOSYS components, which in
turn use the SMTP service on my machine in some capacity.

What the third-party component is doing is issuing commands directly to the
SMTP server. Here's the output when I attempt to have it relay a message
outside of my machine:

[11/12/2004 17:15:08:152]-----> EHLO localhost
[11/12/2004 17:15:08:152]<----- 220 MarkNotebook Microsoft ESMTP MAIL
Service, Version: 6.0.2600.2180 ready at Fri, 12 Nov 2004 17:15:08 -0800
[11/12/2004 17:15:08:403]<----- 250-MarkNotebook Hello [127.0.0.1]
[11/12/2004 17:15:08:403]<----- 250-SIZE 2097152
[11/12/2004 17:15:08:403]<----- 250-PIPELINING
[11/12/2004 17:15:08:403]<----- 250-DSN
[11/12/2004 17:15:08:403]<----- 250-ENHANCEDSTATUSCODES
[11/12/2004 17:15:08:403]<----- 250-8bitmime
[11/12/2004 17:15:08:403]<----- 250-BINARYMIME
[11/12/2004 17:15:08:403]<----- 250-CHUNKING
[11/12/2004 17:15:08:403]<----- 250-VRFY
[11/12/2004 17:15:08:403]<----- 250 OK
[11/12/2004 17:15:08:403]Connected
[11/12/2004 17:15:08:403]Addressing the message
[11/12/2004 17:15:08:403]-----> MAIL FROM:<e-mail address>
[11/12/2004 17:15:08:443]<----- 250 2.1.0 <e-mail address>....Sender OK
[11/12/2004 17:15:08:443]-----> RCPT TO:<e-mail address>
[11/12/2004 17:15:08:453]<----- 550 5.7.1 Unable to relay for <e-mail address>
[11/12/2004 17:15:08:453]Rejected(1): <e-mail address>
[11/12/2004 17:15:08:453]There are no valid recipients.
Common remedy: Try using authentication or check the log file for more error
message details.
[11/12/2004 17:15:08:453]-----> QUIT
[11/12/2004 17:15:08:453]<----- 221 2.0.0 MarkNotebook Service closing
transmission channel
[11/12/2004 17:15:08:543]

I went to the component software company and asked them about this. They
said the SMTP server is asking for authorization. So I tried also setting
authorization credentials, and this is the output I got:

[11/12/2004 17:20:45:187]Connected
[11/12/2004 17:20:45:187]Authenticating
[11/12/2004 17:20:45:187]-----> AUTH LOGIN
[11/12/2004 17:20:45:187]<----- 504 5.7.4 Unrecognized authentication type
[11/12/2004 17:20:45:187]Authentication Failed: Plain Text authentication
not supported
[11/12/2004 17:20:45:187]

Basically I'm trying to make it possible for the component to send messages
to a mailing list. It's not spam. It's to a list of students in a class,
who all have e-mail addresses with other ISPs.

I've tried looking up help on XP about configuring the SMTP service on XP
Pro. While I've found documentation on how to configure it, the
documentation appears to be incorrect, because it directs me to look for a
MMC configuration snap-in which I don't appear to have. Or, much of the
documentation talks about configuring SMTP in conjunction with Exchange
Server. Do I need Exchange Server in order to do this?

Thanks in advance.
 

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