• CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54807  by MarcoOliveira
 
Hello.

I have the following problem.

I have logged in correctly with ldap users by following this documentation.
(https://docs.openkm.com/kcenter/view/ok ... roles.html)

If I want to login with my mail and not with sAMAccountName, it works the same fine.

Nevertheless....

If you try to send, for example, an email notification gives the following error:
"CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY"

VERSION: 6.3.12 CE
 #54812  by jllort
 
That happens because in your AD you have missing the email of the user or you are not capturing the right field from the AD. you can not send and email without from or to field -> error will always happen -> problem is not sending the email ( which is not possible to send) -> the problem I think it comes because in the user list the email of the user maybe is missing. All the users must have an email address -> this is a mandatory requirement.
 #54840  by jllort
 
Check the email configuration in server.xml and ensure you have set there the attribute mail.from ( take a look a this section of the documentation https://docs.openkm.com/kcenter/view/ok ... -mail.html )
Code: Select all
mail.from="<sender email>"
Finally, check that all the users have the email field set in the administration of users view.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.