Relay ColdFusion Mail through SmarterMail on Localhost

First we'll set SmarterMail to allow the relay for 127.0.0.1 (localhost) on port 25

In Internet Explorer load the SmarterMail Administrator > http://localhost:9998/Login.aspx

Log in with the SmarterMail admin username/password

Under All Domains, Select New

Enter a name for the domain and set the IP address as 127.0.0.1, Click Save

Now we need to enable SMTP Authentication Bypass for 127.0.0.1 so we can relay without authentication

Click Security, SMTP Authentication Bypass, New

Enter 127.0.0.1 and Click Save

SmarterMail will now allow any SMTP request originating from 127.0.0.1 to relay through the server.

Now you'll need to configure the ColdFusion Administrator to relay through localhost.

In Internet Explorer load the ColdFusion Administrator > http://127.0.0.1/CFIDE/administrator/index.cfm

Log in with ColdFusion Administrator log on

Select Mail under Server Settings

Set Mail as follows

Click Submit Changes

Now you should be able to use the CFMail tag to send mail through ColdFusion with SmarterMail acting as the relay service on your server.