Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

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

Avatar

Level 3

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]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

Avatar

Correct answer by
Community Advisor

you need to explicitly add all recipients of group.

Email API

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