Page 1 of 1
CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Wed Jul 17, 2024 9:07 am
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
Re: CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Tue Jul 30, 2024 7:23 am
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.
Re: CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Fri Aug 09, 2024 4:06 pm
by MarcoOliveira
No true. I have information (email) of user.
https://prnt.sc/fosl3YC6mohQ
Re: CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Sat Aug 10, 2024 5:25 pm
by jllort
Should share the full stack trace of the error in the log in a text file and upload here ( please only the section with the error shown in the log )
Re: CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Fri Aug 23, 2024 1:57 pm
by MarcoOliveira
Hi.
Log file....
Re: CAN'T SEND NOTIFICATION BECAUSE "FROM" OR "TO" IS EMPTY
PostPosted:Thu Sep 26, 2024 7:03 am
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 )
Finally, check that all the users have the email field set in the administration of users view.