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

AEM Communities - Notification Email Address


Level 4


We are having multiple communities sites with multiple domain residing on same server, is there any way to configure community site specific email from address for communities based email notifications, Any pointer to achieve this will help us lot.

Thanks in advance !

Configuring Email



2 Replies


Community Advisor


You can create a configuration with list of different from address and read that in the java class using HtmlEmail

import org.apache.commons.mail.HtmlEmail;

You can see examples in below link


Using above approach based on the site, you can have different from, to subject etc


Hope this helps !


Level 4


Thanks for your comments, we are aware that we can use html email service, the question here is with respect to communities as it uses the "AEM Communities Email Reply Configuration - Factory configuration" with name points to "subscriptions-email" for configuring the from address and other communities related attributes for email notifications.

The problem here is in the back end adobe code they hard coded with the value "subscriptions-email" and to override this, it requires huge customization. We are looking for any options that help us us to achieve the functionality with minimal changes at configuration level, that we might missing.