Your Ad Here

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.