0
Answered

SMTP Exchange Error 5.7.1 Client does not have permission to send as this user

Ahmed C 8 years ago updated by Nguyen 6 years ago 3

Hello,


I managed to put correct parameters into SMTP Config when installing MyCollab but since there is not different fields one for user and the other from (the email address), I got the error : 5.7.1Client does not have permission to send as this user.


I am self hosting MyCollab into our Information System containing Active Directory and Exchange. In user I put Windows username and its password in Password.


Can you help me please ? Thanks !

Answered

Hi,

You check in %MYCOLLAB_HOME%/mycollab.properties


mail.smtphost=smtp.gmail.com


mail.port=587
mail.username=***
mail.password=***
mail.isTLS=true

mail.notify=notify@mycollab.com


and check whether the value of mail.notify and mail.username is the same. Try to restart the server, and see if it runs correctly. If the issue is persisted, you can send to me hainguyen@mycollab.com your config files (remove the sensitive information such as password) and the file %MYCOLLAB_HOME%/log/mycollab.log

is this resolved?

by making both notify and username as same.

It should send email well with the proper configuration. You should check this link https://answers.microsoft.com/en-us/msoffice/forum/all/configuring-javamail-to-send-mail-to-o365-exchange/46c6870c-4d7e-47c3-99f6-a6d19299e57d for the right parameters.

The notify should be the same with mail username because there are some mail providers don't allow you to use the from email different than the logged in domain.