Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.46k stars 2.79k forks source link

Bug: Mail server malfunction #6238

Closed grandoc closed 7 years ago

grandoc commented 7 years ago

Bug

Environment

Report

Serveur disponible à l'adresse mail.toto.fr sur le port 25 Échec de l'envoi de l'email (émetteur=erp@toto.fr , destinataire=contact@atoo-net.com) Too much recipients in to:

ptibogxiv commented 7 years ago

same bug in 5.0 RC1 

jerash commented 7 years ago

confirmed with 5.0rc1 here too

Darkjeff commented 7 years ago

This problem : htdocs/core/class/CMailFile.class.php uncomment 484 to 515 the problem is the constant : MAIL_MAX_NB_OF_RECIPIENTS_IN_SAME_EMAIL I try to add manually the constant, but it doesn't work so I uncomment the code and now I can send email

jerash commented 7 years ago

@Darkjeff effectively commenting the checks makes the email sending work for me too. So obviously something is wrong with MAIL_MAX_NB_OF_RECIPIENTS_IN_SAME_EMAIL use

hregis commented 7 years ago

https://github.com/Dolibarr/dolibarr/pull/6265