Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

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.