Justin,

Do you have to do anything special if it's an html formatted
message?  Is there a failover in case the client's email client
does not render html?

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



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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