AHA!  That did it!  Particular little thing isnt it?  Tks Howie.  DRE

-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 4:50 PM
To: CF-Talk
Subject: Re: multipart emails


Try removing the white space before the boundary like:

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

and changing the last line to 

--#mimeBoundary#--

HTH,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
>>> Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm

----- Original Message ----- 
From: "Andre Turrettini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 6:32 PM
Subject: multipart emails


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

______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to