I've don't see this problem. The bug appear maybe on some platform : windows or linux platform ? If Linux with mta postfix exim ?
Le 8 févr. 2012 à 19:00, Laurent Destailleur (eldy) a écrit : > Hi. > > 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 ([email protected]), 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... > > > -- > Eldy (Laurent Destailleur). > --------------------------------------------------------------- > EMail: [email protected] > Web: http://www.destailleur.fr > > Dolibarr (Project leader): http://www.dolibarr.org > To make a donation for Dolibarr project via Paypal: [email protected] > AWStats (Author) : http://awstats.sourceforge.net > To make a donation for AWStats project via Paypal: [email protected] > AWBot (Author) : http://awbot.sourceforge.net > CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net > > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev _______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
