Page 2 of 2
Re: Error in sending document link as e-mail
PostPosted:Thu Aug 23, 2018 9:56 am
by saquib.akhtar
But under this:
Code: Select all<Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.auth="false"
mail.smtp.host="172.31.XX.XX"
mail.smtp.user="XXX@XXXX.com"
***password="XXXXX"***
mail.smtp.from="XXX@XXX.com"
mail.smtp.starttls.enable="false"
mail.port="5555"
mail.smtp.port="5555"
mail.debug="true"
/>
I have already defined the password for okmAdmin account and I want to connect it to port 5555/tcp and I have permitted to deliver mails via that port without any authentication.
Re: Error in sending document link as e-mail
PostPosted:Sat Aug 25, 2018 8:45 am
by jllort
Try the configuration into standard mail client to be sure that really the server does not require authentication because the error in the logs tells another thing.
Re: Error in sending document link as e-mail
PostPosted:Mon Aug 27, 2018 6:11 am
by saquib.akhtar
Yes I have tried doing it into standard mail client for sending mail via port 5555.
When I have provided details for the mail id and password under :
mail.smtp.user="
XXX@XXXX.com"
password="XXXXX"
then also I am getting error when sending message from okmAdmin account.
Why?
Re: Error in sending document link as e-mail
PostPosted:Tue Aug 28, 2018 3:22 pm
by jllort
You have some wrong configuration in the mail account or mail server. Should investigate in this direction and until you do not get running in you windows clients does not try into OpenKM, you will get the same result.
Re: Error in sending document link as e-mail
PostPosted:Thu Aug 30, 2018 6:00 am
by saquib.akhtar
I have tried everything, It's working in fine in my web server which sends mail via same configuration using 5555 port.
But here it is creating me a problem.
My point is that when I have supplied password in the
mail.smtp.user="
XXX@XXXX.com"
password="XXXXX"
then why it is prompting for authentication required, at least it should send mail from that mail account for which it is configured.
Re: Error in sending document link as e-mail
PostPosted:Sat Sep 01, 2018 7:38 am
by jllort
What I will write now might sound stupid, but consider or you have done something wrong in the server.xml or in the mail configuration service. You are looking from this forum some kind of magic response what, at least, I do not have. There's a lot of OpenKM community users who are using without issues the mail configuration into the server.xml and also customers of the professional version and always I found some issue there or was a problem with mail server configuration ( the error in the log usually is clear ) or wrong configuration in the server.xml
I suggest trying with Gmail server or another mail to advance trying some change. Also, consider the mail server has a log what might help you if you really take control of this mail server.