cf database and null values .. please help
From="#yourname# - #CompanyName# - (#areacode#)#phonenumber#"
Subject="ds2 test results"
#email2# is pulled from the database, but may have nothing in the line of the database....
i was wondering how to write the code that if there is no value for #email2# to just send to the first email address...
if i don't have a value for the second email address i get the following error:
Error resolving parameter EMAIL2
ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either:
1. You have misspelled the parameter name, or
2. You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag.
The error occurred while processing an element with a general identifier of (CFMAIL), occupying document position (12:3) to (17:1).