Guest User

Untitled

a guest
May 16th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. These should be possible to all tags containing Text.
  2.  
  3. Example cfmail:
  4. <cfmail to="" from="" subject="">
  5.   My ultra cool mailcontent blah
  6. </cfmail>
  7.  
  8. <cfset content = "My ultra cool mailcontent blah">
  9. <cfmail to="" from="" subject="" text="#content#" />
  10.  
  11. So it would be possible to do things like that:
  12. <cfset local.mailContent = getMailData()>
  13. <cfmail attributeCollection="#local.mailContent#">
  14.  
  15.  
  16. and also in Railo (im not quite sure if that is correct, i don't use that syntax often):
  17. <cfscript>
  18.     mail to="" from="" text="#local.content#";
  19. </cfscript>
Add Comment
Please, Sign In to add comment