From 8e4d5fb36d21d8ee1cbe5382b647b47d583a4c8e Mon Sep 17 00:00:00 2001 From: baalmart Date: Mon, 16 Sep 2024 10:50:51 +0300 Subject: [PATCH] removing BCC for all new user registrations --- src/auth-service/utils/mailer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth-service/utils/mailer.js b/src/auth-service/utils/mailer.js index 917677ca0d..e77ba43238 100644 --- a/src/auth-service/utils/mailer.js +++ b/src/auth-service/utils/mailer.js @@ -904,6 +904,7 @@ const mailer = { } const subscribedBccEmails = subscribedEmails.join(","); + //bcc: subscribedBccEmails, let mailOptions = {}; mailOptions = { @@ -914,7 +915,6 @@ const mailer = { to: `${email}`, subject: "Welcome to AirQo!", html: msgTemplates.afterEmailVerification(firstName, username, email), - bcc: subscribedBccEmails, attachments: attachments, };