yay! cheers Tim!

it turns out that I was nearly doing the same thing - but was missing off
the last 2 '--' and it was making things wierd...

thank you my friend.

Rich

> -----Original Message-----
> From: Tim Blair [mailto:[EMAIL PROTECTED]]
> Sent: 13 February 2003 16:49
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] cfmx and multipart e-mails
> 
> 
> 
> > surely someone is using multipart emails with cfmx?
> 
> We just use "home grown"...
> 
> 
> <cfscript>
>     PartDividerChars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
>     boundary = "";
>     for (i=0;i lt 12;i = i + 1) {
>         boundary = boundary &
> mid(PartDividerChars,RandRange(1,len(PartDividerChars)),1);
>     }
>     boundary = "----=_NextPart_000_188_" & boundary;
> </cfscript>
> 
> <cfmail from='' to='' subject=''>
> <cfmailparam name='Content-Type'
> value='multipart/alternative;boundary="#boundary#"'>
> --#boundary#
> Content-Type: text/plain;
> charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Plain text mail stuff
> 
> --#boundary#
> Content-Type: text/html;
> charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> HTML mail stuff
> 
> --#boundary#--
> </cfmail>
> 
> 
> 
> -------------------------------------------------------
> OUR NEW SITE IS NOW LIVE
> Visit our new website at http://www.rawnet.com/ and
> race around the beautiful Bracknell streets at
> http://xmas.rawnet.com/
> -------------------------------------------------------
> Tim Blair
> Web Application Engineer, Rawnet Limited
> Direct Phone : +44 (0) 1344 393 441
> Switchboard : +44 (0) 1344 393 040
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of rawnet limited,
> unless otherwise explicitly and independently indicated
> by an authorised representative of rawnet limited.
> -------------------------------------------------------
> 
> 
> 
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to