Hello!
I am having a problem with my email notification settings. I configured the server.xml file as follows, but I can only send email if I am in the administrator account. If another user wants to send a notification email it gives the error : " com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender"
I know it's because in the configurations I have set in the from field the email of the admin, but I wanted to be able to send notifications from all users and not just the admin.
Thank you in advance!
I am having a problem with my email notification settings. I configured the server.xml file as follows, but I can only send email if I am in the administrator account. If another user wants to send a notification email it gives the error : " com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender"
I know it's because in the configurations I have set in the from field the email of the admin, but I wanted to be able to send notifications from all users and not just the admin.
Code: Select all
Is there a way that any user can send email notifications with their own email? or must the "from" field in the email always be the admin? <Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.auth="true"
mail.smtp.host="mail.examlple.com"
mail.smtp.port="587"
mail.smtp.user="raquel"
password="pass"
mail.debug="true"
mail.smtp.quitwait="false"
mail.smtp.from="raquel@example.com"
/>
Thank you in advance!