That's really interesting.  I didn't know you could
do anything like that.  I think I'm going to experiment
with that at home on my dev box first and then proceed
from there.  What particular mail server are you 
running?

Thanks,
Jason

-----Original Message-----
From: Justin Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 9:57 AM
To: CF-Talk
Subject: Re: ColdFusion based mass email module


> That sounds very interesting.  Could you include a code
> snippet or example to show me how to do what you're
> proposing.  I'm not sure the host will allow it but it's
> definitely worth looking into.

I don't know what your clear_newsletter.cfm file does, but here's a sample
of the IIS SMTP dump code:

--[ snip ]--
<cfoutput query="queryname" group="email_address">
<cffile action="write" file="c:\inetpub\mailroot\pickup\#createuuid()#.txt"
output="Content-type: text/plain
Date: #dateformat(now(), "ddd, d mmm yyyy")# #timeformat(now(),
"HH:mm:ss")# -0500
To: #queryname.email_address#
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Subject Would Go Here

This is a message being sent to you by...
">
</cfoutput>
--[ snip ]--

Note that you will need to change the GMT offset in the time to the correct
value.  The Reply-To header is not needed, but I use that to store a contact
address and use a system address (which sends things into null) for the From
address so I don't get thousands of delivery errors and autoresponders in my
regular mailbox.  I hope this helps a little.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to