If this is a one-off mailing, do you need a "system" to do it?

If you have the body text and the mailing list all you need to do is:

<cfset mailBody = "This is my e-mail message">

<cfloop list="#myMailingList#" index="currMailAddress">
  <cfmail from="[your from address]" subject="SPAM"
to="#currMailAddress# mailserver="[only use if not setup in CFADMIN or
you need to override CF ADMIN's setting]">
     #mailBody#
  </cfmail>
</cfloop>

If you are sending HTML in your message body, you'll need to use the
type attribute of the CFMAIL tag

A rough example....but hopefully it helps

Cheers


On Fri, 2010-08-06 at 14:06 -0400, cfcom wrote:

> We have to do a large mailing in-house. Has anyone written an Email
> Broadcasting system in Coldfusion and/or can recommend one?
> 
>  
> 
> Thank you
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to