I am trying to e-mail multiple contacts based on a flag in a database. It will not allow nesting of <CFMAIL> within <CFOUTPUT>. Any suggestions on how to do this??<br><br>The following code does not work:<br><br> <CFQUERY DATASOURCE="xxx"><br> UPDATE Broadcast_tbl<br> SET NewMessage = '#NewMessage#',<br> </cfquery><br><br> <CFQUERY DATASOURCE="xxx" NAME="notifyusers"><br> select email <br> from personnel_tbl<br> where BroadcastNotify = 'Y'<br> </cfquery><br> <br> <CFOUTPUT><br> <br> <HTML><br> <br> <HEAD><br> <TITLE> Boadcast Messages Updated</title><br> </head><br> <br><Body><br><br><H1><B>Broadcast Messages Updated</b></h1><br></cfoutput><br><br><b><CFOUTPUT QUERY="notifyusers"><br> <CFMAIL QUERY="sendmail"<br> TO="#email#" <br> from="<A HREF="mailto
avid_R_Joyce@xxx.com">David_R_Joyce@xxx.com</A>"<br> Subject="New Broadcast Message"><br> A new Broadcast Message Has Been Sent as Follows:<br> <br> #NewMessage#<br> </cfmail><br></cfoutput></b><br><br></Body><br><br></html><br><br> Thanks,<br> Dave Joyce