/ Published in: ColdFusion
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<cfset mailto="email@someone.com"> <cfset mailfrom="email@someone.com"> <cfset subject="This is a test"> <cfset server="mail.server.com"> <cfmail to="#mailto#" from="#mailfrom#" subject="#subject#"> Here goes the body of the message </cfmail>