Discussion Locked

CDONTS problems with IIS 4.0

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I am having trouble with CDONTS on IIS 4.0. I have an asp page that sends an email, but the messages never get sent, they just queue up in the C:\InetPub\Mailroot\Queue directory. the content of the messages in the queue look normal, andthe addresses are correct. Any thoughts?

Herbert Chan

1 reply

by duskos

Do you have permanent connection to Internet?

Check DNS.
While connected to the Internet open command prompt. Run command:
nslookup
Check that IP address of mail recipient's domain is resolved correctly. For example if mail is addressed to someone@yahoo.com, you would have to check that you get IP address for mail exchange (MX) record for yahoo.com.
So, you have nslookup opened and type

set type=MX
yahoo.com

You would get a list of IP addresses servicing e-mail service (SMTP) for yahoo.com
If you get error, DNS is bad and ask for help about it.
If DNS is OK, you may wish to ensure that SMTP service is running on destination computer.
To check that, open telnet.
In the host address field type IP address obtained by nslookup.
In the port field type 25.
You should get a message that SMTP service on host xxxx is running (or some welcome message).
Type help and you'll get several lines of response. That proves that SMTP is running on destination host.
If that doesn'thelp, you'll need some heavier artillery.
Cheers

This discussion is closed to new replies.