Hi,
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 !
Thanks
Prem
Hi,
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
email.setFrom(emailData.getAddressFrom());
Hope this helps !
Ravi,
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.
Views
Replies
Total Likes