Professional Web Applications Themes

CFMAIL nexted in CFOUTPUT not sending all emails - Macromedia ColdFusion

When we changed from CF5 to CFMX7 the cfmail tag that is nested inside of cfoutput is only sending emails on the group break. So I had... <cfoutput query='qryEsubBatchS' group='colIssueID'> Issue ID - #colIssueID# - Started <br> <cfmail from='xyzyourdomain.com' to='#colEmail' subject='#colPublication#' type='html'> <b>#colTitle#</b> is available <a href='#colLink#'>here</a>. </cfmail> Issue ID - #colIssueID# - Complete <br><br> </cfoutput> But had to change to... <cfmail query='qryEsubBatchS' from='xyzyourdomain.com' to='#colEmail' subject='#colPublication#' type='html'> <b>#colTitle#</b> is available <a href='#colLink#'>here</a>. </cfmail> <cfoutput query='qryEsubBatchS' group='colIssueID'> Issue ID - #colIssueID# - Started <br> Issue ID - #colIssueID# - Complete <br><br> </cfoutput> Now all emails go out but the cfmail is ...

  1. #1

    Default CFMAIL nexted in CFOUTPUT not sending all emails

    When we changed from CF5 to CFMX7 the cfmail tag that is nested inside of
    cfoutput is only sending emails on the group break. So I had... <cfoutput
    query='qryEsubBatchS' group='colIssueID'> Issue ID - #colIssueID# - Started
    <br> <cfmail from='xyzyourdomain.com' to='#colEmail'
    subject='#colPublication#' type='html'> <b>#colTitle#</b> is available <a
    href='#colLink#'>here</a>. </cfmail> Issue ID - #colIssueID# - Complete
    <br><br> </cfoutput> But had to change to... <cfmail query='qryEsubBatchS'
    from='xyzyourdomain.com' to='#colEmail' subject='#colPublication#'
    type='html'> <b>#colTitle#</b> is available <a href='#colLink#'>here</a>.
    </cfmail> <cfoutput query='qryEsubBatchS' group='colIssueID'> Issue ID -
    #colIssueID# - Started <br> Issue ID - #colIssueID# - Complete <br><br>
    </cfoutput> Now all emails go out but the cfmail is nested like I wanted it.
    Any help on why this changed/quit working would be great :D Thanks Carl

    carlu Guest

  2. #2

    Default Re: CFMAIL nexted in CFOUTPUT not sending all emails

    Carl,

    Sounds like a bug. Can you get a reproducible case using a constructed
    query (i.e. QueryNew() and friends)?

    Also FYI - if you post your code using the "Attach Code" button, it comes
    through better when reading via the news interface

    Thanks.
    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  3. #3

    Default Re: CFMAIL nexted in CFOUTPUT not sending all emails

    Tom, Sorry I didn't get you message sooner. The notify email must have got
    zapped as spam. I'm not sure I total understand your request. I replaced the
    cfmail with cfquery and it worked as expected. Having said that I would agree
    that it appears to be bug since the only thing that changed was the switch from
    CF5 to CFMX7. If there is something else I can try to help narrow down the
    problem let me know. I'll watch for your reply. Thanks much Carl

    carlu Guest

  4. #4

    Default Re: CFMAIL nexted in CFOUTPUT not sending all emails

    Carl,

    I am asking you to provide me with a template that reproduces the problem
    and does not depend on your database table to do it.

    You can build a query object "by hand" using the QueryNew and QuerySetCell
    functions in CFML.

    Thanks.
    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

Similar Threads

  1. CFMAIL sending two emails
    By SharedDynamics in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: May 17th, 07:05 PM
  2. CFMAIL sending two emails
    By charles1129 in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: February 28th, 09:09 PM
  3. CFMAIL sending two emails
    By charles1129 in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: February 28th, 08:59 PM
  4. CFMAIL sending two emails
    By puffbunny in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: February 28th, 08:52 PM
  5. CFMAIL sending two emails
    By charles1129 in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: February 28th, 08:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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