Posted by Tim Roberts on 10/29/05 22:49
Thierry <abuse@microsoft.com> wrote:
>Malcolm Dew-Jones a écrit :
>> Thierry (abuse@microsoft.com) wrote:
>> : Hello.
>>
>> : Is it possible to send an email with some HTML code ?
>>
>> The header of the mail message needs "Content-type: text/html"
>>
>> Of course you understand that that header is also used by many mail
>> filters to reject unwanted mail.
>
>But I need something that will not be rejected :-(
"Many" is an exaggeration. A few zealots do reject mail that is HTML-only.
The more acceptable method is to include both an HTML part and a plain
part.
Subject: This is my message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="____separator____"
This section is only read by mail readers that do not understand MIME.
--____separator____
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
This is the plain text section.
--____separator____
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<html><body><h1>This is the <i>HTML</i> section.</h1></body></html>
--____separator____--
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Navigation:
[Reply to this message]
|