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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMTP Service is not working properly

Status
Not open for further replies.

lefty78

IS-IT--Management
Joined
May 29, 2002
Messages
111
Location
US
I am running windows 2000 server and sql2000 on the same Server. I currently have a test version of my website running through IIS. I also have the SMTP service running. If I create a text file with the correct header

i.e. - ....x-sender: whoever@???.com
x-receiver: whoever@???.com
From: whoever@???.com
To: whoever@???.com
Subject: TEST

Body of email here


and put it in the pickup folder, it is picked, qued, and sent with no issue. My problem is sending through the sql driven site. The site works online, so I know that it is coded correctly. I am not sure that I have set up the SMTP service correctly. It seemed to easy, all I had to do was turn it on. Is there any other program that is associated with this function, or is there a property of SMTP that I need to configure?
 
Right click on the SMTP site and click properties
Click on the Delivery tab
Click on advanced
in the smart host box enter your smtp server name or It's IP address ie [1.1.1.1]
 
Thanks for the response, but, that does not need to be configured in this situation as the iis, smtp, and dns services are all running from the same server. My problem was a rights issue, I needed to grant the write permission to the correct group in order for the asp and cdo to drop the mail to the pickup folder. I didnt see this error through the page because I had left in a line that stated if a functon failed, then resume. So I wasnt seeing the code side error and was blaming it on the smtp svc. My fault. As soon as I commented the command out, I was given an error that stated it was a permissions error and was allowed to fix the issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top