It's really easy.

Just write to users.lst in the appropriate IMAIL/thedomain directory and put
each e-mail address on its own line.

I can see if I can dig up the code, but basically you CFQUERY the data set
just on e-mail address, CFLOOP over it creating a variable with myVar=myVAR
& #chr(13)# and then CFFILE WRITE to the directory with this variable (which
is just a list of the items with carriage returns).

One note.  You can use CFFILE append in a loop but this does a LOT of I/O
and isn't recommended.  I only bring it up here because I've seen it done
(and tried it myself) as a shortcut.  It's fast and easy to code, but the
I/O is a killer.

--Doug

-----Original Message-----
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 10:39 AM
To: '[EMAIL PROTECTED]'
Subject: Doug N email me about imail


        I remember you mentioning how you use CF to write to a txt file so
Imail can send out a newsletter. Is there anyway you could send me that
code?


Robert Everland III
Web Developer
Dixon Ticonderoga
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to