Sending external mail via asp and CDONTS

Posted on 2000-01-21
Medium Priority
Last Modified: 2008-03-10
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
Question by:TomDedecker

Expert Comment

ID: 2374522
  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

Accepted Solution

qualityacube earned 200 total points
ID: 2412341
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.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question