一聚教程网:一个值得你收藏的教程网站

最新下载

Setup CDONTS on Windows 2000 SMTP with[等级:中、高](转载:

时间:2008-01-12 00:00:00 编辑:简简单单 来源:转载

This article covers one of the most common questions I see about getting email sent properly from an ASP or ASP.NET page.     How do to setup my pc machine or server to send CDONTS mail.    Step 4 is generally what have to be setup. This article covers having a mail program and SMTP service on the same server.     It already assumes you have a SMTP server running on your network in either case.
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 wouldn't 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 won't be able to receive mail.    
For those developers who are at home, using a dial-up or broadband service.    I've found some ISP's that allow you to put their settings in the Internet Svc Manager(PS: I can't 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.

网站留言

热门栏目