[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] A serious pb with some email

From: Régis Houssin
Subject: Re: [Dolibarr-dev] A serious pb with some email
Date: Thu, 09 Feb 2012 08:25:50 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20120129 Thunderbird/10.0

je ne rencontre pas de problème en envoyant des mails vers des adresses orange via phpmail
qu'elle est la cause exactement ?
en utilisant le smtp orange via phpmail ?

ne serait-ce pas plutôt un renforcement de leur sécurité SMTP comme le fait depuis longtemps gmail ?

Le 08/02/12 22:47, Laurent Destailleur (eldy) a écrit :
Thanks for report.
A workaround was already available into Dolibarr for this problem. You can add option MAIN_MAIL_ALLOW_SENDMAIL_F. This options just add the 5th to avoid Orange bug.

However, this is not exactly the same problem as the new one we found. But origin is same: platform is not able to parse correctly SMTP headers, meanings a lot of emails are never received or not correctly received. 2 serious bugs for same internet provider (in fact, 3 because, Orange is also tagging as spam a mail coming from a personnal smtp server when dns lookup not available for IP, and this, even if email is correct).

Definitely, is a really fu... internet provider ! If you are one of Orange's customer, and if receiving email is important for you, you should change your internet provider.

Le 08/02/2012 21:45, i.d & l a écrit :
Hi Eldy, don't know if it really has something to do with the current problem, but have you been reading this stuff (in french)  ?

In short, it says that when the "return path" isn't valued as the 5th parameter to PHP mail (the 5th element !!  :-D ), Orange simply do not deliver the mail...

My 2cts...


Le 08/02/2012 19:00, Laurent Destailleur (eldy) a écrit :

I want to let know to all Dolibarr developers that a problem to send email using the php native mail function was identified and solved.
Problem occurs with some recipient emails hosted by some internet providers like Orange in france. The result is that email corrupted and can't be read by recipient (text contains SMTP header data and attachment are not recognized).

After working several days on this problem, we found the reason:
There is a very serious bug into Orange email receiving servers. So this is nor a bug into Dolibarr, nor into PHP. When Orange receive a mail for one of its customer (address@hidden), the header of email is cut in the middle of header instead of at end. This happens when header lines end with CR+LF characters and not when line ends with LF alone.
Of course this should not happens because this means Orange emails servers are not SMTP compiant. The RFC 822bis section 2.3 says end of line MUST be CR+LF.

Next version of Dolibarr will add a warning to say that all people hosted by Orange may not received correctly emails when using the native php mail function.

A solution to solve problem is to use the other email sending method. This does not means that the first one (PHP native) is bugged but just that information into header are not in same order and when order change, the bug at Orange platform is not triggered. Because problem is at Orange, there is no way to fix the method 1 by modifying Dolibarr.

So if your need to send emails from Dolibarr, use the method 2 if you don't want to experience problems with Orange customers.

Also if you know some people that are not at Orange but that have same problems when receiving emails, let us know. Goal is to know if Orange is the only provider with a bugged email platform or if other internet provider have same problem...

Dolibarr-dev mailing list

Eldy (Laurent Destailleur).
EMail: address@hidden

Dolibarr (Project leader):
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) :
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) :
CVSChangeLogBuilder (Author) :

Dolibarr-dev mailing list

Régis Houssin
34, route de Gigny
71240 MARNAY
VoIP: +33 1 83 62 40 03
GSM: +33 6 33 02 07 97
Email: address@hidden

Dolibarr developer: address@hidden
Web Portal:
SaaS offers:
Development platform:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]