Sending external mail via asp and CDONTS

I 'm developping a web application which sends an email automaticly. In our network we have a developer server NT4-DEV. Here is the IIS and SMTP server installed. We also got an administration server NT4-ADMI. Here is the exchange server installed. On the SMTP server I fill in for tje domain name: schelfhout.com and for the smart host : NT4-ADMI. When my ASP page sends an email to the smtp server all emails are send if I send to an internal email adres (with domain name schelfhout.com). However if I want to send an e-mail to an external adress(e.g. tijd.com as domain name) I receive an email from the exchange server with following info :

Your message did not reach some or all of the intended recipients.

      Subject:      Registratie informatiesysteem Visafslag Urk
      Sent:      21/01/2000 12:50

The following recipient(s) could not be reached:

      tom.dedecker@tijd.com on 21/01/2000 12:47
            Unable to deliver the message due to a communications failure
            MSEXCH:IMS:Schelfhout Computer Systemen:Stekene:NT4-ADMI 0 (000C05A6) Unknown Recipient

What can I do to solve this? Thanx
TomDedeckerAsked:
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.

sivasundaramCommented:
hi,
  I think the exchange server does not understand the domain address. please install a DNS server and try to connect. Configure the IP of the ISP properly
0
qualityacubeCommented:
The code is 100% perfecto.

The fact is this CDONTs has to be working on a machine / system which is directly exposed to the internet.  The advatange of CDONTs is to be able to send HTML based messages with images and stuff like that and be able to view the same intact with OE or MOutlook 2000.

The SMTP Service of IIS at port 25 listens for connections from the outside world..  So they send mails just like that.. no username or no account needs to exist on the machine you sending out mails.

Exchange server has nothing to do with CDONTs the main reason being all the mails if you have tried do not get logged in the sent items when you send, instead you notice all the mails would be exisiting in the queue directory of the Mailroot of IIS. They are not gone anywhere.

I hope this solves your problem. If you need for an intranet then you need to go in for 3rd party tools or do your own CDO collaboration.
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
ASP

From novice to tech pro — start learning today.