{"id":1198,"date":"2024-07-05T07:06:36","date_gmt":"2024-07-05T07:06:36","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=1198"},"modified":"2024-07-05T07:06:36","modified_gmt":"2024-07-05T07:06:36","slug":"how-do-i-install-iis-smtp","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-do-i-install-iis-smtp.html","title":{"rendered":"How do I install IIS SMTP?"},"content":{"rendered":"<p>IIS SMTP Service is a high performance SMTP server on Windows NT\/2000\/XP. We can use it to send email easily with ANSMTP.<\/p>\n<p>The following things are covered:<\/p>\n<p>How to can send email by IIS SMTP Service<br \/>\nHow to use ESMTP authentication<br \/>\nHow to send email by pickup path of IIS SMTP Service<br \/>\nHow to handle undeliverable email<\/p>\n<p>Installation and Deployment<\/p>\n<p>You should download the ansmtp installer and install it on your machine at first.<br \/>\n<a href=\"https:\/\/www.emailarchitect.net\/webapp\/download\/ansmtp.exe\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.emailarchitect.net\/webapp\/download\/ansmtp.exe<\/a><\/p>\n<p>Install IIS SMTP Service<\/p>\n<p>You can install IIS on Windows 2000\/XP as follows: \u201c<strong>Control Panel-&gt;Add\/Remove Programs-&gt;Windows Components-&gt;Internet Information Service-&gt;SMTP Service<\/strong>\u201c. For Windows NT user, you can install it from Option Pack 4.0 of Windows NT. After installed, you can start it from \u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Internet Information Service<\/strong>\u201c.<\/p>\n<p>ESMTP authentication\/Trusted IP Addresses<\/p>\n<p>The default setting of IIS Smtp service may cause failure in sending email (\u201cError with sending recipient\u201d). Here are two solutions to the problem.<br \/>\nEnable ESMTP authentication of IIS SMTP Service<\/p>\n<p>\u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Internet Information Service-&gt;Default SMTP Virtual Server-&gt;Properties-&gt;Access-&gt;Authentication. \u201c. Check the BASIC Authentication<\/strong>.<br \/>\n\u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Internet Information Service-&gt;Default SMTP Virtual Server-&gt;Properties-&gt;Access-&gt;Relay \u201c. Check the \u201cAllow all computers which successfully authentication to relay<\/strong>\u2026\u201d<\/p>\n<p>Trusted IP Addresses<\/p>\n<p>If you don\u2019t want to do ESMTP authentication, you can add the IP address of your computer to Relay IP Addresses List of IIS SMTP Service.<br \/>\n\u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Internet Information Service-&gt;Default SMTP Virtual Server-&gt;Properties-&gt;Access-&gt;Relay<\/strong>\u201d Check \u201cOnly the list below\u201d 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.<\/p>\n<p>Send Email by Pickup Patch\/Mail Queuing<\/p>\n<p>After installed IIS SMTP Service, there is a directory named \u201cPickup\u201d (\u201c<strong>C:\\Inetpub\\mailroot\\Pickup<\/strong>\u201c). 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.<\/p>\n<p>How does IIS SMTP Service manage undeliverable emails? It saves those emails to specified folder (\u201c<strong>C:\\Inetpub\\mailroot\\Badmail<\/strong>\u201c). If you want to receive those undeliverable emails, you can add your email address in \u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Control Panel-&gt;Administrative Tools-&gt;Internet Information Service-&gt;Default SMTP Virtual Server-&gt;Properties-&gt;Messages\u201d<\/strong><\/p>\n<p>If an email couldn\u2019t be sent to specified email address in first trial, IIS SMTP Service would move it to \u201cQueue\u201d folder and IIS SMTP Service would keep on retrying later until expired. You can set expiration timeout of IIS SMTP Service in \u201c<strong>Control Panel-&gt;Administrative Tools-&gt;Control Panel-&gt;Administrative Tools-&gt;Internet Information Service-&gt;Default SMTP Virtual Server-&gt;Properties-&gt;Delivery\u201d<\/strong><\/p>\n<div class=\"vxjpi69e0b17deb868\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.vxjpi69e0b17deb868 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.vxjpi69e0b17deb868 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.vxjpi69e0b17deb868 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.vxjpi69e0b17deb868 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.vxjpi69e0b17deb868 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,10],"tags":[],"class_list":["post-1198","post","type-post","status-publish","format-standard","hentry","category-server-setup","category-email"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=1198"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1198\/revisions"}],"predecessor-version":[{"id":1200,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/1198\/revisions\/1200"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=1198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=1198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=1198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}