[cfaussie] Re: Passing HTML Code

2008-08-21 Thread KNOTT, Brian
Thanks guys I knew it was easy but its late in the day and the brain is not 
what it should be

Brian Knott
ext 61984

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin 
Pepperman
Sent: Thursday, 21 August 2008 5:13 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Passing HTML Code

You can use cfsavecontent


  
  
  Order number #url.id#<http://url.id> is in FX4YOU system and 
needs to be processed.
  Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm 
')#
  Thank you
  #session.fx4aus_full_name#
  


On Thu, Aug 21, 2008 at 2:56 AM, KNOTT, Brian <[EMAIL PROTECTED]<mailto:[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.


Order number #url.id#<http://url.id/> is in FX4YOU system and 
needs to be processed.
Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm 
')#
Thank you
#session.fx4aus_full_name#
">

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<http://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.

-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 cfaussie@googlegroups.com
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
-~--~~~~--~~--~--~---



[cfaussie] Re: Passing HTML Code

2008-08-21 Thread Kevin Pepperman
also. There are mailer.cfc components already built.

I use this one from Sebtools.

http://www.bryantwebconsulting.com/blog/index.cfm/2006/10/11/mailercfc_10

I hope that helps.



On Thu, Aug 21, 2008 at 3:12 AM, Kevin Pepperman <[EMAIL PROTECTED]>wrote:

>  You can use cfsavecontent
>
> 
>   
>   
>   Order number #url.id#  is in FX4YOU
> system and needs to be processed.
>   Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm
> ')#
>   Thank you
>   #session.fx4aus_full_name#
>   
> 
> 
>
>  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.
>>
>> > size="2">
>> Order number #url.id#  is in FX4YOU system
>> and needs to be processed.
>> Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm
>> ')#
>> Thank you
>> #session.fx4aus_full_name#
>> ">
>>
>> 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
>
>
>


-- 
"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 cfaussie@googlegroups.com
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
-~--~~~~--~~--~--~---



[cfaussie] Re: Passing HTML Code

2008-08-21 Thread Kevin Pepperman
You can use cfsavecontent


  
  
  Order number #url.id# is in FX4YOU system and needs to be
processed.
  Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm
')#
  Thank you
  #session.fx4aus_full_name#
  



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.
>
>  size="2">
> Order number #url.id#  is in FX4YOU system
> and needs to be processed.
> Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm
> ')#
> Thank you
> #session.fx4aus_full_name#
> ">
>
> 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 cfaussie@googlegroups.com
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
-~--~~~~--~~--~--~---



[cfaussie] Re: Passing HTML Code

2008-08-21 Thread Ricardo Russon
Brian,
Try CFSaveContent

  



http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a29.htm

hope that helps

Ric.



On Thu, Aug 21, 2008 at 4:56 PM, 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.
>
>  size="2">
> Order number #url.id# is in FX4YOU system and needs to be
> processed.
> Email sent #timeformat(now(),'h:m tt')# #dateformat(now(),'d mmm
> ')#
> Thank you
> #session.fx4aus_full_name#
> ">
>
> 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.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
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
-~--~~~~--~~--~--~---