To configure Adobe ColdFusion 11 instance to send email out, you need to access Administration page. Default address is http://servername/CFIDE/administrator/index.cfm. You can then navigate to Server Settings and select Mail to specify your mail server related settings.

You hit Submit changes and you see the Connection Verification Successful message.

image

But what’s the easiest way to validate these settings and make sure you are able to send an email out?

Open Notepad and paste the template shown below, then save the document as cfmail.cfm, for example.

<cfmail

to=”destination@domain.com” from=”source@domain.com” bcc=”bcc@domain.com” subject=”subject line”>
body of the email
</cfmail>

Copy the cfmail.cfm file to the root of your Default Web Site. Now you can use your web browser to navigate to https://servername/cfmail.cfm.

Nothing is going to happen – you will see a blank page, however if your ColdFusion Mail settings are correct, you should see a new message in the destination@domain.com mailbox.

%d bloggers like this: