Question
Quick cfmail question
I have a table that contains names and email addresses. In
some cases, there are duplicates.
In my query, I would do a select distinct to eliminate the duplicate addresses.
For the cfmail part, I have this :
<cfmail to="#qry.email#"
cc="xxxx"
from="xxxx"
subject="xxxx"
query="qry"
group="email"
type="html">
Do I need the query part, and the group will eliminate the duplicates ? And this will generate an email for every email address from the query and I do not need a cfloop ?
In my query, I would do a select distinct to eliminate the duplicate addresses.
For the cfmail part, I have this :
<cfmail to="#qry.email#"
cc="xxxx"
from="xxxx"
subject="xxxx"
query="qry"
group="email"
type="html">
Do I need the query part, and the group will eliminate the duplicates ? And this will generate an email for every email address from the query and I do not need a cfloop ?
