Hi,
   i want to send both plain text and HTML in a mail. I searche dthe web and found the following code

<cfset boundary = CreateUUID()>
<cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" subject="test" server="localhost">

  <cfmailparam name="Content-Type" value="multipart/alternative; boundary=""#boundary#""">
  --#boundary#
  Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit This is the plain text message for the email.

--#boundary#

  Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

<html>
   <head>
<title>HTML Message</title>
    </head>
    <body>
       This is the HTML text message for the email.
   </body>
  </html>
--#boundary#--
  </cfmail>

but it is sending blank mail. can anyone help me with this please
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to