Exchange email process

I have been deemed the exchange guru for my company. Worked with Exchange for many years but I have not been too intimate with all the intricate details.

We have SMTP relay turned off for obvious reasons. I have a web guy attempting to use cdonts to email a form that we need from an intranet web server to internal email addresses. Once the form is filled out and submitted it just sits in the Queue. We have complete the smtp tests using telnet address port 25 and can get a response from our exchange server.

My question is "How can we be getting email internally from our notification services like SNMP, Veritas, AV, etc, but can't receive mail from simple CDONTS code. We have similar code on our Internet Web Server and it is working fine. I could route the messages out and back in, but isn't that a little too much?
LVL 13
marine7275Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BusbarSolutions ArchitectCommented:
what is the Queue says?
0
SembeeCommented:
The common reason I see for this is that the message is either not configured correctly or AV software is blocking it.

Simon.
0
marine7275Author Commented:
The queue says nothing. It just has the messages sitting there.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

tymesCommented:
Well, first you should use CDOSYS rather than CDONTS which is depreciated, but you probably just have a firewall or filtering issue.  CDOSYS let's you use different ports, SSL, configure addresses and relay server so you can circumvent and get around whatever problem you have.

Now where is this code the doesn't work in relation to your exchange server and intranet with similar code that does work?  I would first turn on logging and examine logs to determine what the smtp service was trying to do.  My guess is port 25 is blocked somewhere or it would be sitting around and it would move or fail.
0
marine7275Author Commented:
Can anyone give me a quick class on how email is routed with an automated notification message vs. cdonts code? Doesn't it all use smtp the same way?
0
tymesCommented:
CDONTS drops the message in a inetpub/mailroot delivery folder which the smtp service notices and tries to deliver.  So C:\Inetpub\Mailroot\Pickup or perhaps \Program files\Exchsrvr\Mailroot\Vsi #\Pickup, for more detail...
http://support.microsoft.com/kb/324649

CDOSYS establishes a real SMTP connection locally or remotely using various ports or authenication and uses an SMTP session to deliver messages.  So if the server isn't running or the message isn't accepted then you'll know right away with an error message.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.