We have workflow which send the templated mail for Approval but if SMTP is not configured its failing with below error but we would like so see notification in AEM if SMTP not configured and WF to progress without that.
Caused by: java.lang.IllegalArgumentException: Mail template path [ <template_file_Path> ] could not resolve to a valid template
acs-aem-commons/EmailServiceImpl.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub
Views
Replies
Total Likes
Dear Krita,
acs-aem-commons is an open source project, you are welcome to make your amendment and make a pull request in GitHub.
Regards,
Peter
Views
Replies
Total Likes
Configure AEM to use email - Configuring Email
Views
Replies
Total Likes
Hi Kriti,
I suggest to configure DAY CQ Mail configuration from under configuration tab in OSGi Console.
Additional to Scott, See this article for more information: Technical Knowledge Sharing Stuff: Mailing Issue in AEM with Gmail SMTP Configuration - This helps in configuring the Gmail SMTP mail.
Hope this helps!!
Thanks,
Ratna Kumar.
Views
Replies
Total Likes