Settings : Sending Mail Print

  • 3

All CFML based services require some mail settings to be added within either the <cfmail> tag or within the Web Administrator if you are using Lucee or Railo.

Using the <cfmail> tag:

<cfmail to="TOADDRESS" from="FROMADDRESS**" subject="SUBJECT" server="localhost" username="[email protected]**" password="PASSWORD">

YOUR EMAIL CONTENT

</cfmail>

** Must be created within the control panel (such as cPanel/Plesk) as a valid email address.

Using the Web Administrator:

When entering the details for the mail sending server (SMTP) you can use details such as below. An email address will need to be created as the mail sending address (e.g. [email protected]):

Server (SMTP): localhost
Username: [email protected]
Password: *password*
Port: 25


Was this answer helpful?

« Back