I create an html file called newsletter.html and a text file called
newsletter.txt,
then in the body of my CFMAIL I do this:
<CFMAILPARAM name="X-mailer" value="[MAILER PARAM NAME] multipart mailer v1.0">
<CFMAILPARAM name="MIME-Version" value="1.0">
<CFMAILPARAM name="Content-Type" value="multipart/alternative; boundary=[MAILER
PARAM NAME]">
--[MAILER PARAM NAME]
Content-Type:text/plain; charset=us-ascii
<CFINCLUDE TEMPLATE="newsletter.txt">
--[MAILER PARAM NAME]
Content-Type:text/x-aol; charset=us-ascii
<CFINCLUDE TEMPLATE="newsletter.txt">
--[MAILER PARAM NAME]
Content-Type:text/html; charset=us-ascii
<cfinclude template="newsletter.htm">
--[MAILER PARAM NAME]--
</CFMAIL>
Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the use of the
individual or entity to which it is addressed. This e-mail may contain
information that is privileged, confidential, and/or personal. If the reader of
this message is not the intended recipient (or the employee or agent responsible
to deliver it to the intended recipient), you are hereby notified that any
dissemination, distribution, or copying of this communication is prohibited.
If you have received this communication in error, please notify us at the email
listed above.
-----Original Message-----
From: John Innit [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 3:56 AM
To: CF-Talk
Subject: What do you use to send out HTML NEWSLETTERS from your site
We're building an application to send out HTML email newsletters, the
application needs to integrate with our SQL database for personalization
and needs to support HTML templates for each newsletter, as the basic
format and layout of each email stays the same and we just replace the
content which consists of text.
We've tried using the CF_HTMLAREA and CF_ActivEdit tags as WYSIWYG editors
for entering the text into the templates but have found that this bloats up
the HTML and it ends up large and clunky - not really good for email!!.
We're also having problems getting the text to display properly, word
wraps, line spacing etc.
This effort is getting frustrating.
There must be a ton of ways to effectively send out and manage hi quality
HTML emails from our site (I get tons of well composed spam every day) and
it seems like we're trying to reinvent the wheel when the garage is just
next door!!
Can anyone help in recommending a good product or service or source code or
even just an idea or suggestion.
Thanks for your time.
"The only difference between me and a madman is that I'm not mad."
- Salvador Dali (1904-1989)
______________________________________________________________________
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