SMTP error 120

Hi,

I am getting this error when trying to send an invoice by email on Dolibarr 3.0.0 installed on a Linux environment.

Failed to send mail (sender=xxxx, receiver=xxxx)
Error [120]: Ran into problems sending Mail. Response: 451 See http://pobox.com/~djb/docs/smtplf.html.

Any ideas why this might be happening?

Regards,

Tonio

Can you make this test :

Edit file htdocs/lib/CMailFile.class.php
and replace line 111 from
$this->eol="\n";
to
$this->eol="\r\n";

Then try again and tell me if it fix.

I received the following message:
Failed to send mail (sender = “me”, receiver=xxx@xxx.nl
Error [120]: Ran into problems sending Mial. Response: 535 Incorrect authentication data Error [130]: invalid Autenthication Credentials.

Please advise what to do. I’m running Dolibarr verson 5.0.1.

Thank you for your reply.

I’m sure there was a mail error on 5.0.0 or 5.0.1 which got fixed in 5.0.3

I suggest you update to 5.0.3 and try again.

If the error is not linked to what I think, then based on your error message, your login/password for your emails seem wrongly setup in dolibarr.

1 Like