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

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

cfmail query= vs using cfloop

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
02/20/2003 10:40 PM

hello all. based on what you have seen in your trails what will give you better more reliable performance? <cfloop query="someQ">   <cfmail to="">   </cfmail> </cfloop> or <cfmail query="someQ"> </cfmail> i guess basically, can i rely on looping through a record set with the cfmail tag, and sending an email for every record? or would it be better to use the cfloop and have cfmail tags inbetwixt doing the mail logic? thanks ....tony tony weeg tony@revolutionwebdesign.com www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bruce Sorge
02/20/2003 10:49 PM

My experience shows that there really is no noticeable difference in the two. I typically use the cfmail tag with the query attribute. Be careful though of using this for bulk emails. cfmail is not designed for heavy duty email campaigns. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
02/20/2003 10:52 PM

yeah, i know, but for a small mailing list, of women who sign up to a curves for women mailing list, like 1-200 maybe...it shouldnt choke? tony My experience shows that there really is no noticeable difference in the two. I typically use the cfmail tag with the query attribute. Be careful though of using this for bulk emails. cfmail is not designed for heavy duty email campaigns. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bruce Sorge
02/20/2003 11:01 PM

Naw. You should be fine. I have sent over 1K with no problem. Some folks try to send several K and wonder why it chokes. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
02/20/2003 11:13 PM

:) cool. thanks. Naw. You should be fine. I have sent over 1K with no problem. Some folks try to send several K and wonder why it chokes. > yeah, i know, but for a small mailing list, of women who sign up > to a curves for women mailing list, like 1-200 maybe...it shouldnt > choke? > > tony > > My experience shows that there really is no noticeable difference in the > two. I typically use the cfmail tag with the query attribute. Be careful ----- Excess quoted text cut - see Original Post for more ----- inbetwixt ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matt Robertson
02/21/2003 02:26 AM

I have a client who regularly does a 4k- to 5k-recipient mailing list and it works fine.  I'd never even know she was doing it if I wasn't on her mailing list myself.  At your size you probably won't have to deal with this, but if it gets too much bigger, you ought to throttle the mail down if you are mailing to AOL and msn users.  They've recently begun putting up short term blocks when they sense a lot of mail piling in from one sender.  Not sure what the trigger point is, but it can play havoc with a mailing. -------------------------------------------- Matt Robertson       matt@mysecretbase.com MSB Designs, Inc.  http://mysecretbase.com -------------------------------------------- :) cool. thanks. Naw. You should be fine. I have sent over 1K with no problem. Some folks try to send several K and wonder why it chokes. > yeah, i know, but for a small mailing list, of women who sign up > to a curves for women mailing list, like 1-200 maybe...it shouldnt > choke? > > tony > > My experience shows that there really is no noticeable difference in the > two. I typically use the cfmail tag with the query attribute. Be careful ----- Excess quoted text cut - see Original Post for more ----- inbetwixt ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Doom
02/21/2003 09:45 AM

In order to help cfmail not choke, we use a loop around a cfmail tag, outputting only a small chunk of the recordset.  Then we use a javascript onload command to jump to another page which does the next bit after a short pause.  It's not terribly efficient from a time point of view, but it works for a couple of thousand people. --  Ben Doom     Programmer & General Lackey     Moonbow Software, Inc : -----Original Message----- : : Sent: Thursday, February 20, 2003 10:49 PM : To: CF-Talk : Subject: RE: cfmail query= vs using cfloop : : : yeah, i know, but for a small mailing list, of women who sign up : to a curves for women mailing list, like 1-200 maybe...it shouldnt : choke? : : tony : : -----Original Message----- : : Sent: Thursday, February 20, 2003 10:46 PM : To: CF-Talk : Subject: Re: cfmail query= vs using cfloop : : : My experience shows that there really is no noticeable difference in the : two. I typically use the cfmail tag with the query attribute. Be careful : though of using this for bulk emails. cfmail is not designed for heavy : duty : email campaigns. : ----- Original Message ----- : From: "Tony Weeg" <tony@navtrak.net> : To: "CF-Talk" <cf-talk@houseoffusion.com> : Sent: Thursday, February 20, 2003 9:37 PM : Subject: cfmail query= vs using cfloop : : : > hello all. : > : > based on what you have seen in your trails what will give you better : > more reliable performance? : > : > <cfloop query="someQ"> : > : > <cfmail to=""> : > </cfmail> : > : > </cfloop> : > : > or : > : > <cfmail query="someQ"> : > </cfmail> : > : > i guess basically, can i rely on looping through a record : > set with the cfmail tag, and sending an email for every record? : > : > or would it be better to use the cfloop and have cfmail tags inbetwixt : > doing the mail logic? : > : > thanks : > : > ....tony : > : > tony weeg : > tony@revolutionwebdesign.com : > www.revolutionwebdesign.com : > rEvOlUtIoN wEb DeSiGn : > 410.334.6331 : > : > : :

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
02/21/2003 10:58 AM

How do you code the pause? And why is the "javascript online command" and "jump to another page" necessary? Is there not a way just to put a pause in the loop somewhere? Some kind of "wait" setup? Rick     >  In order to help cfmail not choke, we use a loop around a cfmail tag,     >  outputting only a small chunk of the recordset.  Then we use     >  a javascript     >  onload command to jump to another page which does the next     >  bit after a short     >  pause.  It's not terribly efficient from a time point of     >  view, but it works     >  for a couple of thousand people.     >     >     >  --  Ben Doom     >      Programmer & General Lackey     >      Moonbow Software, Inc     >     >  : -----Original Message-----     >  :     >  : Sent: Thursday, February 20, 2003 10:49 PM     >  : To: CF-Talk     >  : Subject: RE: cfmail query= vs using cfloop     >  :     >  :     >  : yeah, i know, but for a small mailing list, of women who sign up     >  : to a curves for women mailing list, like 1-200 maybe...it shouldnt     >  : choke?     >  :     >  : tony     >  :     >  : -----Original Message-----     >  :     >  : Sent: Thursday, February 20, 2003 10:46 PM     >  : To: CF-Talk     >  : Subject: Re: cfmail query= vs using cfloop     >  :     >  :     >  : My experience shows that there really is no noticeable     >  difference in the     >  : two. I typically use the cfmail tag with the query     >  attribute. Be careful     >  : though of using this for bulk emails. cfmail is not     >  designed for heavy     >  : duty     >  : email campaigns.     >  : ----- Original Message -----     >  : From: "Tony Weeg" <tony@navtrak.net>     >  : To: "CF-Talk" <cf-talk@houseoffusion.com>     >  : Sent: Thursday, February 20, 2003 9:37 PM     >  : Subject: cfmail query= vs using cfloop     >  :     >  :     >  : > hello all.     >  : >     >  : > based on what you have seen in your trails what will     >  give you better     >  : > more reliable performance?     >  : >     >  : > <cfloop query="someQ">     >  : >     >  : > <cfmail to="">     >  : > </cfmail>     >  : >     >  : > </cfloop>     >  : >     >  : > or     >  : >     >  : > <cfmail query="someQ">     >  : > </cfmail>     >  : >     >  : > i guess basically, can i rely on looping through a record     >  : > set with the cfmail tag, and sending an email for every record?     >  : >     >  : > or would it be better to use the cfloop and have cfmail     >  tags inbetwixt     >  : > doing the mail logic?     >  : >     >  : > thanks     >  : >     >  : > ....tony     >  : >     >  : > tony weeg     >  : > tony@revolutionwebdesign.com     >  : > www.revolutionwebdesign.com     >  : > rEvOlUtIoN wEb DeSiGn     >  : > 410.334.6331     >  : >     >  : >     >  :     >  :

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Doom
02/21/2003 11:07 AM

Mostly, this just lets us start it up in a browser somewhere, put in our message, hit 'send' and walk away without worrying about browser timeouts. I'm sure there are other ways to do it, but we rarely send out large batches of messages and this was an easy way to handle it. --  Ben Doom     Programmer & General Lackey     Moonbow Software, Inc : -----Original Message----- : : Sent: Friday, February 21, 2003 10:58 AM : To: CF-Talk : Subject: RE: cfmail query= vs using cfloop : : : How do you code the pause? : And why is the "javascript online command" and "jump to another page" : necessary? : Is there not a way just to put a pause in the loop somewhere? : Some kind of "wait" setup? : : Rick : : :     >  -----Original Message----- : :     >  Sent: Friday, February 21, 2003 9:42 AM :     >  To: CF-Talk :     >  Subject: RE: cfmail query= vs using cfloop :     > :     > :     >  In order to help cfmail not choke, we use a loop around a : cfmail tag, :     >  outputting only a small chunk of the recordset.  Then we use :     >  a javascript :     >  onload command to jump to another page which does the next :     >  bit after a short :     >  pause.  It's not terribly efficient from a time point of :     >  view, but it works :     >  for a couple of thousand people. :     > :     > :     >  --  Ben Doom :     >      Programmer & General Lackey :     >      Moonbow Software, Inc :     > :     >  : -----Original Message----- :     >  : :     >  : Sent: Thursday, February 20, 2003 10:49 PM :     >  : To: CF-Talk :     >  : Subject: RE: cfmail query= vs using cfloop :     >  : :     >  : :     >  : yeah, i know, but for a small mailing list, of women who sign up :     >  : to a curves for women mailing list, like 1-200 : maybe...it shouldnt :     >  : choke? :     >  : :     >  : tony :     >  : :     >  : -----Original Message----- :     >  : :     >  : Sent: Thursday, February 20, 2003 10:46 PM :     >  : To: CF-Talk :     >  : Subject: Re: cfmail query= vs using cfloop :     >  : :     >  : :     >  : My experience shows that there really is no noticeable :     >  difference in the :     >  : two. I typically use the cfmail tag with the query :     >  attribute. Be careful :     >  : though of using this for bulk emails. cfmail is not :     >  designed for heavy :     >  : duty :     >  : email campaigns. :     >  : ----- Original Message ----- :     >  : From: "Tony Weeg" <tony@navtrak.net> :     >  : To: "CF-Talk" <cf-talk@houseoffusion.com> :     >  : Sent: Thursday, February 20, 2003 9:37 PM :     >  : Subject: cfmail query= vs using cfloop :     >  : :     >  : :     >  : > hello all. :     >  : > :     >  : > based on what you have seen in your trails what will :     >  give you better :     >  : > more reliable performance? :     >  : > :     >  : > <cfloop query="someQ"> :     >  : > :     >  : > <cfmail to=""> :     >  : > </cfmail> :     >  : > :     >  : > </cfloop> :     >  : > :     >  : > or :     >  : > :     >  : > <cfmail query="someQ"> :     >  : > </cfmail> :     >  : > :     >  : > i guess basically, can i rely on looping through a record :     >  : > set with the cfmail tag, and sending an email for every record? :     >  : > :     >  : > or would it be better to use the cfloop and have cfmail :     >  tags inbetwixt :     >  : > doing the mail logic? :     >  : > :     >  : > thanks :     >  : > :     >  : > ....tony :     >  : > :     >  : > tony weeg :     >  : > tony@revolutionwebdesign.com :     >  : > www.revolutionwebdesign.com :     >  : > rEvOlUtIoN wEb DeSiGn :     >  : > 410.334.6331 :     >  : > :     >  : > :     >  : :     >  : :     > :


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

August 23, 2014

<<   <   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