You can use cfsavecontent

<cfsavecontent variable="content">
  <cfoutput>
  <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
  Order number <b>#url.id#</b> is in <b>FX4YOU system</b> and needs to be
processed.<br><br>
  Email sent #timeformat(now(),'h:m tt')#&nbsp;#dateformat(now(),'d mmm
yyyy')#<br><br>
  Thank you<br><br>
  #session.fx4aus_full_name#
  </font>
</cfoutput>
</cfsavecontent>

On Thu, Aug 21, 2008 at 2:56 AM, KNOTT, Brian <[EMAIL PROTECTED]>wrote:

>  I want to create an email cfc so I just pass the arguments that I require
> through and it sends an email.  Only issue I have is passing HTML code.  How
> do I set a variable to equal a block of code.
>
> e.g.
>
> <cfset content = "<font face="Verdana, Arial, Helvetica, sans-serif"
> size="2">
> Order number <b>#url.id# <http://url.id/#></b> is in <b>FX4YOU system</b>
> and needs to be processed.<br><br>
> Email sent #timeformat(now(),'h:m tt')#&nbsp;#dateformat(now(),'d mmm
> yyyy')#<br><br>
> Thank you<br><br>
> #session.fx4aus_full_name#
> </font>">
>
> Thanks
>
> *Brian Knott*
> MIS Specialist | Pricing and MIS CFO Banking | CFO Retail Banking
> *ext* 61984* ph* 07 3836 1984* fax* 07 3835 5455
>
>
>
> *  ________________________________  *
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
> 11 55 or at suncorp.com.au.
> The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
>
> >
>


-- 
"anything you say can/will be used against you--
--nothing you say can/will be used to help you."
-Professor James Duane

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to