Portal Home > Knowledgebase > Railo Hosting > Settings : Sending Mail with Railo
Railo like ColdFusion does require some mail settings to be added within either the <cfmail> tag or within the web administrator.
Using the <cfmail> tag:
<cfmail to="TOADDRESS" from="FROMADDRESS**" subject="SUBJECT" server="localhost" username="NOREPLY@YOURDOMAIN.COM**" password="PASSWORD">
YOUR EMAIL CONTENT
</cfmail>
** Must be created within the control panel as a valid email address
Using the Railo web administrator:
When entering the details for the mail sending server (SMTP) you can use details such as below. A email address will need to be created as the mail sending address (e.g. noreply@yourdomain.com):
Server (SMTP): localhost
Username: noreply@yourdomain.com
Password: *password*
Port: 25
Add to Favourites
Print this Article