Trying to send Email to a group Email I.D in AEM. | Community
Skip to main content
Level 3
May 8, 2019
Solved

Trying to send Email to a group Email I.D in AEM.

  • May 8, 2019
  • 1 reply
  • 1506 views

Hello All,

I am trying to send an email to a group email I.D and it doesn't give any error but we are not receiving the Email. When I try to do the same by replacing with one email I.D then we are able to send the email.

I am using "com.adobe.acs.commons.email.EmailService" and Day CQ Mail Service.

Can some one let me know what I need to do in order to achieve this.

Thanks,

Adithya.

[Moved from the Forum Comments forum (which is for issues with these forums themselves) and into a product-specific support forum - moderator]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

you need to explicitly add all recipients of group.

Email API

// Array of email recipients
String[] recipients = { "recipient1@example.com", "recipient2@example.com" };

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 9, 2019

you need to explicitly add all recipients of group.

Email API

// Array of email recipients
String[] recipients = { "recipient1@example.com", "recipient2@example.com" };

Arun Patidar