Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Email notification not sent for a community group

Avatar

Level 1

Hi,

We are using AEM 6.2 and we have an issue on communities.

We have a community group where the users post the messages by clicking on email subscriptions, notifications while posting new messages.

We find that none of the users subscribed to this community group doesn't receive any email notifications. They need to go to communities and check if anything has been posted.

We don't see any kind of logging which says email notification has been sent. Also not sure if we need to configure any specific loggers for this to debug.

We need help on this issue.

Appreciate comments, feedback

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello Jayan,

In windows service, you would need to make it output stdout. This article might help.

OR

you can use dummy SMTP to test the emails - FakeSMTP – FakeSMTP - Dummy SMTP server for developers

Regards,

Vishu

View solution in original post

3 Replies

Avatar

Employee

Hello,

You can enable "Debug email" in com.day.cq.mailer.DefaultMailService config and replicate the issue.

Regards,

Vishu

Avatar

Level 1

Thank you for the reply.

We have already enabled the "Debug email" checkbox, but doesn't see in the error.log.

I have read somewhere that the output is logged into stdout.log. But the AEM instance is running as a service, not sure where these messages will be logged into.

Avatar

Correct answer by
Employee

Hello Jayan,

In windows service, you would need to make it output stdout. This article might help.

OR

you can use dummy SMTP to test the emails - FakeSMTP – FakeSMTP - Dummy SMTP server for developers

Regards,

Vishu