we were working on an app that sends email using cdonts from our development web server. we also run mail server on the same server that provides pop3, smtp, imap services. the issue was getting both the mail programs smtp service and the windows 2000 smtp service that is provided as part of iis. the problem is one service wouldnt start up due to both were trying to use the default smtp port 25. there is a work around i discovered recently that allowed both to operate. there is one issue with this setup, the windows 2000 smtp service wont be able to receive mail.
for those developers who are at home, using a dial-up or broadband service. ive found some isps that allow you to put their settings in the internet svc manager(ps: i cant guarentee this will work but its worth a shot!, if your isp comes after you, i claim no responsibility). if your unsure what is being mentioned, verify the pop3 and smtp settings in your mail program such as outlook, outlook express or whatever you use and place the same smtp settings in iis.
install mail server program (imail, mercury mail etc..)
configure mail program(imail, mercury mail etc.) to route smtp traffic.
open internet service manager, right click on smtp default virtual server, click advanced on general tab and edit the port to 26. only edit the port if you have two smtp services running on the same server, otherwise leave port 25! 0
if your just trying to configure the windows smtp service provided by iis , open internet svc manager, right click on smtp default virtual server and follow step 4,
while in the smtp properties tab, click the delivery tab, select the advanced fill in the smart host information. the fully-qualified domain name textbox needs the computername entered. my experience this needs to be able to resolve in dns
start smtp in services control panel. (start, settings, control panel, admin tools, services icon)
stop and start mail program smtp service.
create an asp page or asp.net page to test out or download our examples
sample dwonload
原文
文章整理:站长天空 网址:http://www.z6688.com/
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




