Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Quick cfmail question

Participant ,
May 15, 2008 May 15, 2008
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 ?
202
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 15, 2008 May 15, 2008
and what do the docs say about this?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 15, 2008 May 15, 2008
LATEST
You shouldn't need the group attribute.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources