|
Posted by Alvaro G. Vicario on 11/17/11 11:54
*** Der tolle Emil escribió/wrote (Tue, 1 Aug 2006 13:54:28 +0200):
> FROM: me <foo@bar.com>
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="MIME_BOUNDARY"
Try: multipart/alternative
> --MIME_BOUNDARY
This --MIME_BOUNDARY should not be here.
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: 8bit
>
> This is a multi-part message in MIME format.
> navision://client/run?etcetc
This stuff is supposed to provide a hint for MIME unaware clients. It's not
where you put your text only version: MIME away clients will ignore it.
So you need an additional block for your plain text.
>
> --MIME_BOUNDARY
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: 8bit
>
> <html><body>
> <a href="navision://client/run?etcetc">click me</a>
> </body></html>
>
> --MIME_BOUNDARY--
This is a message generated by The Bat! mail client, use it as template:
Date: Tue, 1 Aug 2006 19:48:29 +0200
From: "Alvaro G. Vicario" <alvaro@*************>
X-Mailer: The Bat! (v2.01.3) Personal
Organization: http://www.demogracia.com/
X-Priority: 3 (Normal)
Message-ID: <1204078304.20060801194829@demogracia.com>
To: Alvaro G Vicario <alvaro@*************>
Subject: Mixed HTML and text
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----------1271226D31E3D293"
------------1271226D31E3D293
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is the message body.
------------1271226D31E3D293
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 8bit
<html><head>
</head>
<body BGCOLOR=#D2C1EC>
This is the <b>message</b> body. </body></html>
------------1271226D31E3D293--
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|