Everything between the opening and closing <cfmail... tags is part of the
body.  It acts like a <cfoutput..., except that it outputs to an e-mail
rather than the screen.

  _____  

Gary L. Alford
Manufacturing Operations Project Specialist
Bell Helicopter XWorx
Phone: (817) 280-6233     Fax: (817) 278-6233
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

I have not failed.  I've found 10,000 ways that won't work.
          Thomas A. Edison 
  _____  



-----Original Message-----
From: Mark Armstrong [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 2:16 PM
To: [email protected]
Subject: Re: Newbie question on mailto tag with variables (easy)


Thanks Gary.

However, I want to put the dynamic info in the body (?body=) as well 
... I"ll try body="#productdescription# and see if that works too..

Yes, CF admin uses mail.

Mark


On Jan 7, 2005, at 12:38 PM, Alford, Gary L wrote:

> If your CF administrator is set up to handle e-mail, I would probably 
> use
> the <cfmail... tag as follows:
>
>    <cfquery name="myQuery">
>       SELECT  productdescription, productdetails
>       FROM            myTable
>    </cfquery>
>
>    <cfmail to="[EMAIL PROTECTED]" query="myQuery"
> subject="Interest in
>    #productdescription#">
>       #productdetails#
>    </cfmail>
>
> I have used this before and it really works great.  The e-mail address 
> can
> also be dynamically populated from a query, form fields, etc.
>
>   _____
>
> Gary L. Alford
> Manufacturing Operations Project Specialist
> Bell Helicopter XWorx
> Phone: (817) 280-6233     Fax: (817) 278-6233
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> I have not failed.  I've found 10,000 ways that won't work.
>           Thomas A. Edison
>   _____
>
>
>
> -----Original Message-----
> From: Mark Armstrong [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 07, 2005 12:30 PM
> To: [email protected]
> Subject: Newbie question on mailto tag with variables (easy)
>
>
> I have a dynamic page output with client products.
>
> When they click the detail, the detail product loads of course. The
> client wants to have a graphic button, when clicked, will email the
> client the product detail in the email subject and body.
>
> sooo, this is the typical code:
>
> <a href="mailto:[EMAIL PROTECTED]"><img
> src="images/interestproduct.gif" width="209" height="82" border="0"
> /></a>
>
> I"m imagining something like:
>
> <a
> href="mailto:[EMAIL PROTECTED]
> subject=Interest%20in%20#productdesciption#?body=#productdetails#"><img
> src="images/interestproduct.gif" width="209" height="82" border="0"
> /></a>
>
> Does this look too wacky? its not working error says that the variables
> are undefined... but not true. do I need to put an output tag in the
> mail to ?
>
> Sorry for such stupidity
>
> thanks.
>
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>    http://www.dfwcfug.org/form_MemberRegistration.cfm
>
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>    http://www.dfwcfug.org/form_MemberRegistration.cfm
>
>

----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm

----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to