Email Notifications -
PostPosted:Wed Apr 10, 2013 7:53 am
Hi all,
I am trying to configure email notifications in OpenKM 6.2.3 Community. We are using MS Exchange Server. Below is the relevant section that I modified in ".../tomcat/conf/server.xml":
(1) "okmAdmin" (role_admin) which is given an email address "admin123@xxx.com" (i.e. the one specified in server.xml above)
(2) "myuser1" (role_user) which is given an email address "myuser1@xxx.com"
If I log in as "okmAdmin" and upload files, I can successfully send notication emails.
However, if I log in as "myuser1" and upload files, I fail to send notication emails. When I look into logs/catalina.out, I find the following error message:
Ideally, I would like to have every users able to send email notifications but with "From" address equal to "admin123@xxx.com" - is this possible?
Look forward to hearing any suggestion and sharing experience. Thank you!
I am trying to configure email notifications in OpenKM 6.2.3 Community. We are using MS Exchange Server. Below is the relevant section that I modified in ".../tomcat/conf/server.xml":
Code: Select all
Now, I have two users in OpenKM as described below: <Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.host="smtphost.xxx.com"
mail.smtp.auth="true"
mail.smtp.port="25"
mail.smtp.from="admin123@xxx.com"
mail.smtp.user="admin123"
password="adminPassword"
mail.debug="true"
/>(1) "okmAdmin" (role_admin) which is given an email address "admin123@xxx.com" (i.e. the one specified in server.xml above)
(2) "myuser1" (role_user) which is given an email address "myuser1@xxx.com"
If I log in as "okmAdmin" and upload files, I can successfully send notication emails.
However, if I log in as "myuser1" and upload files, I fail to send notication emails. When I look into logs/catalina.out, I find the following error message:
Code: Select all
I guess that this error is caused by the mismatch between the email account details specified in server.xml and the email address given to user "myuser1". How should I configure server.xml so that every user can set email notifications? "Client does not have permissions to send as this sender"Ideally, I would like to have every users able to send email notifications but with "From" address equal to "admin123@xxx.com" - is this possible?
Look forward to hearing any suggestion and sharing experience. Thank you!