Hi,

Sorry Wayne you can muck around with headers till the cows come home, but
you need to do this with the new @EMAIL and @EMAILSESSION Tags.

The reason is you need a little thing called the boundary which has to come
from mail server (simplified explanation) but luckily the good people have
supplied the tag for it called <@MIMEBOUNDARY>

And even luckier for you I have a taf that you can use to do this. (hint:
see attachment ;-)

Ben

P.S. yes, you can email me if you have questions on the taf



-----Original Message-----
From: Wayne Irvine [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 05, 2006 5:08 PM
To: [email protected]
Subject: Witango-Talk: HTML/plain text email

I'm sending out surveys in HTML emails and would like to provide people with
non-HTML compliant browsers a link to the form on the web server.

I've done this sort of thing before by generating a text file and dropping
it in the email apps 'incoming' folder but I'd really like to do it with
Witango's mail action.

I'm mucking around with the Custom Header Lines: parameter but not having
any luck. All the Plain text stuff is just showing at the beginning of the
HTML.

Basically the email end up should look something like this:


From: <email address>
Subject: <subject
To: <email>
DATE: <date>
Mime-Version: 1.0
Content-type: multipart/alternative; boundary="alternative_boundary"

--alternative_boundary
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

It appears your e-mail client does not support HTML.

Please view the online version at the web site:

http://URL

--alternative_boundary
Content-type: text/html; charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<HTML>

<HEAD>
<TITLE>Survey</TITLE>
    <STYLE>
        P {
           font-family: verdana,arial,helvetica,sans-serif;
           color:000000;
           font-size:8pt
... And so on.

Wayne
                  Byte Services Pty Ltd
               http://www.byteserve.com.au/
                  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Attachment: send_both.taf
Description: Binary data

Reply via email to