PHP mail() function and Lotus Notes client: HTML damaged -


First of all, sorry if my english is bad, i am French.

I have some problems with PHP Mail () function and Lotus Notes client: I try to send an HTML email to my business address, it is using Lotus Notes, but it seems It does not recognize HTML at all, instead, it shows me the code of my email with courier New Font ...

Here my code is very simple:

  $ header = "mime-version: 1.0 \ r \ n"; $ Headers = "Content-type: text / html; charset = UTF-8 \ r \ n"; $ Headers = "From: Bidouille & Lt; bidouille@entreprise.fr> \ r \ n"; $ Headers = "X-Mailer: PHP /". Phpversion (). "\ R \ n"; $ Mail = "& lt; p & gt; Our advertising website is based on this, but it is also a very important one. Maurice, Neck Libyut Erat Feigeet EU. & Lt; / p & gt;"; Mail ("monmail@entreprise.fr", "test", $ mail, $ header);  

And here I get the mail at Lotus Notes:

Content-Type: Text / html; Charset = utf-8

From: Bidouille

Ex-Mailer: PHP / 5.2.9

Message-ID: & lt; 20140218141905.F03DA7009D@kpw36063 Appheb.entreprise.fr> Date: Tuesday, 18th Feb 2014 15:19:05 +0100 (CET)

Lorem ipsum weeds die aMET, consectetur adipiscing elit Apart from this, only men and women are included in the houses. Anne Fossibus Nassel with a colleagues working and working extensively, a Narsuda pullman employee employee suspect employee tracking, nec aliquet erat feugiat eu.

Have an idea about what happens to you?

Thank you for your reply.

Try to use \ n instead of \ r \ n to separate the headings here Quoted from:

If messages have not been received, try using only LF (\ n). Some Unix mail transfer agents (most notably »QAMM) by CRFF Automatically changes LF (which uses CRF, doubles CRG)It should be a last resort as it does not comply with »RFC 2822.

and the end of a double CRLF header means.


Comments