Somebody please answer my questions about CDONTS.
I have a MS Exchange server and a webserver running IIS. I am going to write an ASP page using CDONTS to send out email. Here are my questions:
1. I have a simple ASP page and I can use it to send email to anyone on my local area network, but when I tried to send email to outside (hotmail or yahoo mail), I got delivery stats notification (failure). I am sure I open the port on my firewall for the SMTP server. Is there any other things I have to check?
The delivery stats notification is like this:
==========================================================
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
xxxxxx@hotmail.com
==========================================================
And there are 2 attachments. One is my message, and the other one is:
==========================================================
Reporting-MTA: dns;WEBSERVER2
Received-From-MTA: dns;WEBSERVER2
Arrival-Date: Fri, 16 Jan 2004 16:22:44 -0500
Final-Recipient: rfc822;xxxxxx@hotmail.com
Action: failed
Status: 5.0.0
Diagnostic-Code: smtp;550 Relaying is prohibited
==========================================================
2. If SMTP server is not working, I am going to use the Smart Host feature on IIS. Do I need to run the SMTP service on webserver to send out email or I can use the Smart Host feature on IIS to use send email through Exchange server?
I have a MS Exchange server and a webserver running IIS. I am going to write an ASP page using CDONTS to send out email. Here are my questions:
1. I have a simple ASP page and I can use it to send email to anyone on my local area network, but when I tried to send email to outside (hotmail or yahoo mail), I got delivery stats notification (failure). I am sure I open the port on my firewall for the SMTP server. Is there any other things I have to check?
The delivery stats notification is like this:
==========================================================
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
xxxxxx@hotmail.com
==========================================================
And there are 2 attachments. One is my message, and the other one is:
==========================================================
Reporting-MTA: dns;WEBSERVER2
Received-From-MTA: dns;WEBSERVER2
Arrival-Date: Fri, 16 Jan 2004 16:22:44 -0500
Final-Recipient: rfc822;xxxxxx@hotmail.com
Action: failed
Status: 5.0.0
Diagnostic-Code: smtp;550 Relaying is prohibited
==========================================================
2. If SMTP server is not working, I am going to use the Smart Host feature on IIS. Do I need to run the SMTP service on webserver to send out email or I can use the Smart Host feature on IIS to use send email through Exchange server?