document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.  savecontent variable="tmpVariable" {
  2.         writedump(application);
  3.     }
  4.  
  5.     // Create an instance of the mail object
  6.     mail=new mail();
  7.  
  8.     // Set it\'s properties
  9.     mail.setSubject( "Application" );
  10.     mail.setTo( "me@domain.com" );
  11.     mail.setFrom( "me@domain.com" );
  12.  
  13.     // Add email body conten
  14.     mail.addPart( type="html", charset="utf-8", body="SampleBody );
  15.     // Add the cfdump as savedcontend ( which is just html )
  16.     // as an attachment rather then in the body
  17.     mail.addParam(file="report.htm", content=tmpVariable );
  18.  
  19.     // Send the email
  20.     mail.send();
');