Thanks all for your help !

Michel

Le 26 oct. 05 à 17:47, Will Mayall a écrit :

But if mail.inc is an html file, mail program don't recognise html
code and parse it as a text file

Although simply adding a Content-Type header for HTML will help, it will not
ensure that all recipients see the message you intend.

To ensure that most email clients will properly manage the HTML in the email
message, there are a number of steps to creating the message:

1. Create a multipart message with both text and HTML parts. Use the
"Content-Type: multipart/alternative;" header. Even when someone has
specified they want HTML, this will ensure that they can read the text in
alternative email clients like web mail.

2. Use well written HTML and the simpler, the better. Many email clients
still render HTML poorly.

3. Wrap the HTML just like any email message. Although there are probably few servers that still truncate lines, it is still possible that long lines
will be truncated.

4. Use quoted-printable encoding when wrapping the HTML.

And a final obscure tip:

To ensure that Microsoft email clients properly display the HTML, add the
following header to the HTML content part:

X-MS-Request-Fidelity: high

Some MS email clients (Entourage included) will somewhat arbitrarily decide to use a simple HTML rendering on some HTML messages unless you include the
above header.

Will



_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


-------------------------------------
Open Mac
11 rue de l'Eglise
57660 Lixing les St Avold
tél : +33 3 87 29 85 58
fax : +33 3 87 29 85 59
--------------------------------------



_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to