diff --git a/src/main/java/org/gcube/common/portal/mailing/EmailNotification.java b/src/main/java/org/gcube/common/portal/mailing/EmailNotification.java index 1330523..ce8fabb 100644 --- a/src/main/java/org/gcube/common/portal/mailing/EmailNotification.java +++ b/src/main/java/org/gcube/common/portal/mailing/EmailNotification.java @@ -134,8 +134,8 @@ public class EmailNotification { this.emailBodyTextPlain = (builder.bodyTextPlain != null) ? new StringBuffer(builder.bodyTextPlain).append(getWarningLegalText(true)) : null; } - this.emailRecipientsInCC = new ArrayList(); - this.emailRecipientsInBCC = new ArrayList(); + this.emailRecipientsInCC = builder.emailRecipientsInCC; + this.emailRecipientsInBCC = builder.emailRecipientsInBCC; } /**