# SMTP Error, cant send

**URL:** <https://www.dolibarr.org/forum/t/smtp-error-cant-send/21480>\
**Category:** Using my Dolibarr\
**Tags:** v13, Linux, Setup-Configuration, Help\
**Created:** [November 23, 2021, 5:04pm UTC](https://www.dolibarr.org/forum/t/smtp-error-cant-send/21480 "2021-11-23T17:04:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdmarket](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/w/838e76/32.png) [@wdmarket](https://www.dolibarr.org/forum/u/wdmarket)\
**Post date:** [November 23, 2021, 5:04pm UTC](https://www.dolibarr.org/forum/t/smtp-error-cant-send/21480/1 "2021-11-23T17:04:47Z")

</div>

Hello, I have installed dolibar.  
I did install it by using Virtualmin

Ubuntu 20.04  
Version is 13.0.5

I tried to set up SMTP.  
When test connectivity, it shows that all is ok - Server is available at address …  
Problem is, I cant set up SMTP, SMTP credentials are ok, but dolibar shows an error

Failed to send mail (sender=SIA XXXXX, receiver=xxxxxxxxxxxx)  
Error [120]: Ran into problems sending Mail. Response: 535 5.7.8 Error: authentication failed: Invalid authentication mechanism Error [120]: Ran into problems sending Mail. Response: 502 5.5.2 Error: command not recognized Error [120]: Ran into problems sending Mail. Response: 502 5.5.2 Error: command not recognized Error [130]: Invalid Authentication Credentials.

---

<div class="post-metadata">

**Author:** ![wdmarket](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/w/838e76/32.png) [@wdmarket](https://www.dolibarr.org/forum/u/wdmarket)\
**Post date:** [November 23, 2021, 7:57pm UTC](https://www.dolibarr.org/forum/t/smtp-error-cant-send/21480/2 "2021-11-23T19:57:10Z")

</div>

I did change email provider.  
It did made fix.  
But still on other services this email did work.  
interesting
