We Recommend

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
This Getting Started volume starts with Web and Internet fundamentals and database concepts and design, and then progresses to topics including creating data-driven pages, building complete applications, implementing security mechanisms, integrating with e-mail, building reusable functions and components, generating data-driven reports and graphs, building Ajax-powered user interfaces, and much more.


Ballyhoo


Posted By

andrewbowley on 07/31/07


Tagged

email send


Versions (?)


Send email via mail server


Published in: ColdFusion 


  1. <cfset mailto="email@someone.com">
  2. <cfset mailfrom="email@someone.com">
  3. <cfset subject="This is a test">
  4. <cfset server="mail.server.com">
  5.  
  6. <cfmail to="#mailto#" from="#mailfrom#" subject="#subject#">
  7. Here goes the body of the message
  8. </cfmail>

Report this snippet 

You need to login to post a comment.