IIS SMTP Service is a high performance SMTP server on Windows NT/2000/XP. We can use it to send email easily with ANSMTP.
The following things are covered:
How to can send email by IIS SMTP Service
How to use ESMTP authentication
How to send email by pickup path of IIS SMTP Service
How to handle undeliverable email
Installation and Deployment
You should download the ansmtp installer and install it on your machine at first.
https://www.emailarchitect.net/webapp/download/ansmtp.exe
Install IIS SMTP Service
You can install IIS on Windows 2000/XP as follows: “Control Panel->Add/Remove Programs->Windows Components->Internet Information Service->SMTP Service“. For Windows NT user, you can install it from Option Pack 4.0 of Windows NT. After installed, you can start it from “Control Panel->Administrative Tools->Internet Information Service“.
ESMTP authentication/Trusted IP Addresses
The default setting of IIS Smtp service may cause failure in sending email (“Error with sending recipient”). Here are two solutions to the problem.
Enable ESMTP authentication of IIS SMTP Service
“Control Panel->Administrative Tools->Internet Information Service->Default SMTP Virtual Server->Properties->Access->Authentication. “. Check the BASIC Authentication.
“Control Panel->Administrative Tools->Internet Information Service->Default SMTP Virtual Server->Properties->Access->Relay “. Check the “Allow all computers which successfully authentication to relay …”
Trusted IP Addresses
If you don’t want to do ESMTP authentication, you can add the IP address of your computer to Relay IP Addresses List of IIS SMTP Service.
“Control Panel->Administrative Tools->Internet Information Service->Default SMTP Virtual Server->Properties->Access->Relay” Check “Only the list below” and add your computer IP address to this list. Any email sent from this IP address will be accepted by IIS SMTP Service even without user authentication.
Send Email by Pickup Patch/Mail Queuing
After installed IIS SMTP Service, there is a directory named “Pickup” (“C:\Inetpub\mailroot\Pickup“). IIS SMTP Service keeps on monitoring this folder, once an email is saved in this directory, IIS SMTP Service will queue this email and send it automatically in background.
How does IIS SMTP Service manage undeliverable emails? It saves those emails to specified folder (“C:\Inetpub\mailroot\Badmail“). If you want to receive those undeliverable emails, you can add your email address in “Control Panel->Administrative Tools->Control Panel->Administrative Tools->Internet Information Service->Default SMTP Virtual Server->Properties->Messages”
If an email couldn’t be sent to specified email address in first trial, IIS SMTP Service would move it to “Queue” folder and IIS SMTP Service would keep on retrying later until expired. You can set expiration timeout of IIS SMTP Service in “Control Panel->Administrative Tools->Control Panel->Administrative Tools->Internet Information Service->Default SMTP Virtual Server->Properties->Delivery”