Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default CFLOOP and CFMAIL

    Is there anyway to have cfloop delay 5 seconds inbetween each time it loops. I
    am trying to send out an large email but my web host says I have to delay my
    emails from being sent all at once. They have to be time delayed and 5 seconds
    is their requirement.

    Thanks...

    bweno Guest

  2. Similar Questions and Discussions

    1. cfloop
      The goal is to insert a record into table 'atd', which contains a document id and an associate id, for each document (38) and associate (150). So...
    2. Cfloop..
      I am trying to loop over a list: <cfquery name="updsyllabus" datasource="#arguments.syl.dsn#"> UPDATE #arguments.syl.tname# SET <cfloop...
    3. CFMail Timing Out in CFLoop
      I am using a hosted server and have no control over their settings. They say the Timeout for CFMail is set to 20 seconds. The problem I'm...
    4. <cfmail></cfmail> in a script
      I am wondering if I can put <cfmail> tags and code within a javascript script. will the browser recognize it, and perform the instructions? ...
    5. cfmail - Attribute validation error for tag CFMAIL.
      I'm getting the error ' Attribute validation error for tag CFMAIL.' on the code below. All its doing is outputting a text string to the TO: field. ...
  3. #2

    Default Re: CFLOOP and CFMAIL

    I would have the page reload (after each mail is sent) using the settimeout function in javascript.
    TurboMini Guest

  4. #3

    Default Re: CFLOOP and CFMAIL

    If you do your looping server side you are either going to tie up one of CF's
    available request threads for a Lonnng time, or you'll wind up with the request
    timing out. You can fix the latter but you can't fix the former.

    I wrote a mail throttler ages ago that does the job in a series of short
    requests. Its a proven technique when it comes to slowing down mail delivery
    to allow mailings to go out despite the frequency filters in place at many
    ISP's. You can easily vary the thing to do 1 email every 5 seconds but unless
    that specific rate is what you require you don't need to go anywhere near that
    slow to solve the frequency filter problem, or even to dribble out mail on a
    busy shared server.

    [url]http://mysecretbase.com/Slowing_Down_CFMAIL.cfm[/url]

    --Matt--
    MSB Web Systems... [url]http://mysecretbase.com[/url]
    Even historians fail to learn from history -- they repeat the same mistakes.
    - John Gill, "Patterns of Force," stardate 2534.7.


    MattRobertson Guest

  5. #4

    Default Re: CFLOOP and CFMAIL

    That is ABSOLUTELY PERFECT... Thanks a million...
    bweno Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139