Skip to main content
nikos101
Inspiring
October 13, 2008
Question

how do I send out emails only if the row in column area is equal to test?

  • October 13, 2008
  • 1 reply
  • 488 views
If I have a query result in cold fusion, how do I send out emails only if the row in column area is equal to test?

What I'm looking for is the code to loop through the query and send out emails like this:

<cfmail type="html" to="niko@test.co.uk"

server="#Application.MailServer#" port="25" timeout="120">#body#</cfmail>
This topic has been closed for replies.

1 reply

Inspiring
October 17, 2008
Add a where clause to your query so that it only selects records where area = 'test'