com.day.cq.mailer.MailingException: Invalid mail service configuration
I face an issue with Email Functionality developed using ACS Commons Email Service (com.adobe.acs.commons.email.EmailService). It throws the below exception even when the mail server is set up with proper configurations:
com.day.cq.mailer.MailingException: Invalid mail service configuration
Again, as mentioned in the below thread, restarting the bundle does help and the mailing function start working fine and mail is sent. But after few days the issue reappears. So the functionality fails randomly and doesn't work until and unless we restart the "com.day.cq.cq-mailer" bundle.
Please let me know in case anyone is aware of the root cause of the issue.
Thanks in advance!