Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

ACS Email Service failing when SMTP not configured

Avatar

Level 1

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

3 Replies

Avatar

Community Advisor

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

Avatar

Level 10

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.