Expand my Community achievements bar.

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" };



Arun Patidar

View solution in original post

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" };



Arun Patidar