I've got a CDONTS script that I'm trying to get to work on our web server. This script used to work on an external, outsourced web server. Now we host the website in house on a server that is on the same LAN as our exchange server.
This script allows us to collect contact information from a web page and email it to our receptionist. I can get the script to work if I send the email the an external domain such as username@externaldomain.com. However, whenever I change that script to send the email to our domain on our LAN (such as username@internaldomain.com) it just ends up in the mailroot/queue folder with an error message "Could not relay to host internaldomain.com".
What do I have to do to make IIS happy?
I've already created an external domain under the Default SMTP Virtual Server that has the "Allow incoming mail to be relayed to this domain" checkbox enabled. Also, under the default web site properties, server extensions tab, mail delivery options, I set the SMTP server address to 192.168.0.1, the ip of our exchange server.
Any ideas???
This script allows us to collect contact information from a web page and email it to our receptionist. I can get the script to work if I send the email the an external domain such as username@externaldomain.com. However, whenever I change that script to send the email to our domain on our LAN (such as username@internaldomain.com) it just ends up in the mailroot/queue folder with an error message "Could not relay to host internaldomain.com".
What do I have to do to make IIS happy?
I've already created an external domain under the Default SMTP Virtual Server that has the "Allow incoming mail to be relayed to this domain" checkbox enabled. Also, under the default web site properties, server extensions tab, mail delivery options, I set the SMTP server address to 192.168.0.1, the ip of our exchange server.
Any ideas???