House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Display multiple Line items in CFMail

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Display multiple Line items in CFMail

You can put a <cfoutput> in the <cfmail> tag to loop over the Pascal Peters 04/27/2004 03:49 AM
----- Excess quoted text cut - see Original Post for more ----- Philip Arnold 04/26/2004 02:35 PM
In CFMX, you can set a recordset cell to be another recordset.  You Barney Boisvert 04/26/2004 02:21 PM
Does someone have a solution for displaying multiple line items in Ben Densmore 04/26/2004 02:10 PM

04/27/2004 03:49 AM
Author: Pascal Peters Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32155#161385 You can put a <cfoutput> in the <cfmail> tag to loop over the grouped records. Same as <cfoutput group=...> This code works fine in CF5. I'm not running CFMX right now, so I didn't test. <cfmail query="qTest" from="#variables.from#" to="#qTest.email#" group="email" subject="test"> <cfoutput> #qTest.text# </cfoutput> </cfmail> Pascal ----- Excess quoted text cut - see Original Post for more -----
04/26/2004 02:35 PM
Author: Philip Arnold Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32155#161347 ----- Excess quoted text cut - see Original Post for more ----- If I'm understand what you're trying to do Don't send the CFMAIL with the QUERY paramter, but build the content before you send the CFMAIL
04/26/2004 02:21 PM
Author: Barney Boisvert Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32155#161342 In CFMX, you can set a recordset cell to be another recordset.  You could preprocess your recordset converting the per-person part list to a nested recordset, and then your CFMAIL wouldn't use grouping.  IN each message, you'd just loop over the inner recordset to output the list. If you go that route, you have to dereference the inner recordset to a 'normal' variable before you can use it, you can't just reference the recordset column that holds it. Cheers, barneyb ----- Excess quoted text cut - see Original Post for more -----
04/26/2004 02:10 PM
Author: Ben Densmore Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32155#161339 Does someone have a solution for displaying multiple line items in CFMail when you use the group attribute in a <cfoutput> tag? I have a query that returns some order information that could have multiple part numbers. I am grouping on the order number so when an email goes out it doesn't send the same email more than once if they have multiple part numbers. The problem is that by grouping it, it will only display one part number in the email. If I output the page I can use a regular <cfoutput> tag nested inside of the grouped <cfoutput> tag which gives me all the part numbers ordered for a specific customer, but trying to do that in CFMail causes the code to break. I can't seem to think of a way to do this. Thanks, Ben
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference