Cdonts - Mail stuck in queue

hey all, for some reason, cdonts/cdo doesn't send mail out of my machine. All the mail gets stuck in the queue for some reason. How do i resolve this? Thanx all!

Who is Participating?
davidlars99Connect With a Mentor Commented:
source code..?
engineroomAuthor Commented:
it's fine. Get an error in the event log:

The remote server did not respond to a connection attempt
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Looks like maybe a permission problem. Make sure IUSR_<machine> account has access to your mail server. If you're running the mail server on the same box as your web server, check to see that it's on, and that the proper port for mail is set. Typically, this is port 25, but if it's different, you'll have to connect through the port that it's expecting.

I've run into this a few times too - DavidLars99 post link should give you everything you need -
in a nutshell- when IIS is installed - so is a local mail server - but that server usually needs to be configured - and rarely is.
This is especially true if you're in a corprate environment behind a firewall - you'll need to find the main mail server (that supports SMTP) and route the local mail server to it - the setting is pretty burried in the SMTP config of your local IIS, but again I think it's all covered in the link David posted.

<-- Please do not award points to this response, I am not trying to hijack David's answer, just trying to help with my 2 cents -->

- Jack
engineroomAuthor Commented:
Thanx all!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.