Expand my Community achievements bar.

SOLVED

AEM - ACS Common upgrade to 5.2.0, sending emails fails afterwards - could not resolve to a valid template

Avatar

Level 7

Hi folks,

I recently upgraded my AEM project's embedded ACS COMMONs libraries from 4.11.0 to 5.2.0. and sending emails fails afterwards.

 

"...ang.IllegalArgumentException: Mail template path [ /conf/myproject/notification/email/dentist.html ] could not resolve to a valid template
at com.adobe.acs.commons.email.impl.EmailServiceImpl.getMailTemplate(EmailServiceImpl.java:276)"

 

I checked via useradmin for "acs-commons-system-notifications-service"  and it has read permission for "/conf/myproject/notification/email" directory on both publishers servers.

If I checked via security/permissions.html, I didn't see that the user had permissions so I added an ACE for /conf/myproject/notification/email. Not sure what was happening there.

 

In any case, it still didn't work.

 

Is there some other service user I should check permissions for ?

thanks

Fiona

1 Accepted Solution

Avatar

Correct answer by
Level 7
2 Replies

Avatar

Correct answer by
Level 7

Actually, I think it is "acs-commons-email-service". That seems to work.

https://adobe-consulting-services.github.io/acs-aem-commons/features/e-mail/email-api/index.html#cre...

 

Avatar

Employee Advisor

Hi @fionas76543059 ,

 

Nikita___Garg_0-1670560364692.png

 

Hope this helps.

 

Thanks,

Nikita Garg