Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I configure SMTP in IIS, so it relays to a remote SMTP server?

I want to configure SMTP on my web server, so that any email sent through the SMTP server is relayed to a remote SMTP Server. The IIS SMTP server would have to use SMTP authentication, and use the host name, username and password (as if configuring a normal email client).

Does anybody know if this is possible?

like image 748
Andrew Rimmer Avatar asked Oct 27 '08 07:10

Andrew Rimmer


People also ask

What is the difference between SMTP and SMTP relay?

Simple Mail Transfer Protocol (SMTP) is a straightforward process that allows users to send, relay, and monitor outgoing emails. An SMTP relay service—also commonly known as an SMTP gateway service—takes this a step further by allowing you to send more transaction and marketing-related emails.

What is relay in SMTP?

An SMTP relay service (also referred to as an SMTP provider) is a service that helps a sender deliver transactional and bulk email, by routing the email through a trusted 3rd party. The SMTP relay service provides all of the underlying technology and expertise to help businesses deliver email over SMTP.


1 Answers

Yes, it' completely possible, and relatively easy to configure.

I've got a couple of articles about SmartHosting on my web site that will probably help:

http://www.christopherlewis.com/SmartHosting/SMTPSmartHosting.htm
and
http://www.christopherlewis.com/SmartHosting/SMTPSmartHostingPt2.htm

They're written towards Exchange 2003, but Exchange 2003 used IIS's SMTP engine, so the settings are the same.

Bascially, you right click the SMTP site, select properties, Delivery tab, Outbound security, and enter your credientials in the Basic Authentication fields. Back on the Delivery tab, you then click Advanced and enter the remote SMTP server name in the SmartHost field.

Editing

The links above are no longer available.

Try http://intellitect.com/configuring-windows-smtp-server-on-windows-2008-for-relay/.

like image 131
Christopher G. Lewis Avatar answered Sep 28 '22 09:09

Christopher G. Lewis