Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Somebody please answer my questions

Status
Not open for further replies.

UGrad

Programmer
Oct 15, 2002
40
CA
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?
 
Ha, just found out my SMTP setting is not correct.
I got it fixed. =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top