Hey Gang, my turn to post a question.  I'm trying to send a multipart mime
email with the html and txt version.  Heres my current code.  When I receive
an email generated by this, I can see both versions as well as the
boundaries.  I've also looked around and everything looks pretty similar to
this.  Anybody know what I'm doing wrong?  Tks.  DRE

<cfset email = '[EMAIL PROTECTED]'>
<cfset mimeboundary = "hellodrehellodre">
<cfmail to="#email#" 
                from="[EMAIL PROTECTED]" 
                subject="subject" 
                server="#request.Site.MailServer#"> 
     <cfmailparam name="MIME-Version" value="1.0"> 
     <cfmailparam name="Content-Type"
value="multipart/alternative;boundary=#chr(34)##mimeBoundary##chr(34)#"> 
     This is a Multipart MIME message. 
          
     --#mimeBoundary# 
     Content-Type: text/plain; charset=us-ascii 

     #thismessagetxt#

     --#mimeBoundary# 
     Content-Type: text/html; charset=us-ascii 

     #thismessagehtml#

     --#mimeBoundary#
  </cfmail>

<cfoutput>
______________________________________________________________________
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