Setup cdonts on Windows with[SMTP level: Medium, High]

Source: Internet
Author: User
Tags iis mail
Smtp|window This article covers one of the most common questions I-about getting email sent properly from an ASP or as   P.net page.  How did to the setup my PC machine or server to send CDONTS mail. Step 4 are generally what have to be setup.   This article covers has a mail program and an SMTP service on the same server. It already assumes you have an SMTP server running on your network in either case.

We were working on a app that sends e-mail 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 SMTP service, which provided as part of II  S. 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 this allowed to both. There is one issue with this setup, the Windows SMTP service won ' t being 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 for you-put their settings in the Internet Svc Manager (ps:i can ' t guarentee this'll wor  K but its worth a shot!, if your ISP comes for 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 Ex Press or whatever you with 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 are HAVE two SMTP SERVICES RUNNING on the SAME SERVER, otherwise LEAVE PORT 25! 0



' If your just trying to configure-Windows SMTP service provided by IIS, Open Internet SVC Manager, right click on SMT P Default Virtual Server and follow step 4,
While in the SMTP Properties tab, click the Delivery tab and select the Advanced fill in the smart host information.  The fully-qualified Domain Name textbox needs the ComputerName entered. My experience this needs to is able to resolve in DNS


The 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
Original

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.