What version of CF Server are you using?

I think multiple emails in <CFMAIL List="list"> only work in CF 4.5, not with before 
CF 4.01, though you can always do <CFMAIL> inside a loop.

At 10:23 AM 10/26/00 -0700, Kory Basaraba wrote:
>Since email seems to be a hot topic, here's an error message I'm receiving
>when trying to send to a list of addresses:
>
>
>Error Diagnostic Information
>unknown exception condition
>
>TagCFMail::sendMessage
>
>The error occurred while processing an element with a general identifier of
>(CFMAIL), occupying document position (40:1) to (43:42) in the template file
>d:\_sites\wws\Community\EmailAdmin\WWS_send_notifications.cfm.
>
>
>This cfmail code below works if I've only got one recipient in the list, but
>as soon as I move to two or more I get the following error:
><----- here is the code I'm using ----------->
>
><cfset
>EmailList="[EMAIL PROTECTED],[EMAIL PROTECTED],alkdsfsdlk">
>
><cfloop list="#EmailList#" index="email">
>
><cfif findnocase("@",email) and findnocase(".",email)>
><CFMAIL
>   SUBJECT="The Subject"
>   TO="#EMail#"
>   FROM="[EMAIL PROTECTED]">
>
>   This is a test
>
></cfmail>
></cfif>
></cfloop>
>
>I can't wait until I know enough to give something back to the list, instead
>of always asking for help. This list has seen me through a lot of new ideas
>and code, so thanks a lot for being open to share your experience.
>
>
>Kory
>
>------------------------------------------------------------------------------
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


====================================================
Douglas M. Smith - Database Architect/Web Integration Specialist
====================================================
TERATECH, INC. - TOOLS FOR PROGRAMMERS(tm)
VisualBasic, Web (ColdFusion and ASP), Math and Statistics, 
Access, SQL, programming tools & consulting
100 Park Ave, Suite 360, Rockville MD 20850 USA 
Voice: 301-424-3903, Fax: 301-762-8185 
http://www.teratech.com
====================================================
Email: [EMAIL PROTECTED]
Mobil/Cell Phone: (240) 601-5520
ICQ: 41044319
====================================================
Do you need a group calendar or scheduler?
How about a free ColdFusion Tag and Function Reference?
Go to http://www.teratech.com/freestuff.cfm
====================================================

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to