Sending emails in bulk to users on page publish | Community
Skip to main content
October 26, 2021
Solved

Sending emails in bulk to users on page publish

  • October 26, 2021
  • 3 replies
  • 908 views

Hi All,
We have a requirement where we need to send an email notification to subscribers whenever a new blog is published. The subscriber count can go up to 2 lakhs in the future.
We were initially thinking of sending emails in batches using day.cq.mail service, but since all of this will happen in publish environment, there may be an overload and inconsistency issue with multiple publishers in the production environment.
Any suggestions for tackling the solution using AEM would be helpful. 
P.S: We are aware of 3rd party tools available for integration but we are still looking for possibilities without them.

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 Manu_Mathew_

@abhishekarora_749 

 

Ya seems there will definitely some overload and inconsistency issue with multiple publishers, may be breaking down the implementations to multiple services of sending emails in batches would help, You may also make use of author instance to create cron services to read emails and send it.

 

you may also refer to this, if this helps-- https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sending-bulk-email-using-cq-mail-service/m-p/195995

 

3 replies

Manu_Mathew_
Community Advisor
Manu_Mathew_Community AdvisorAccepted solution
Community Advisor
October 27, 2021

@abhishekarora_749 

 

Ya seems there will definitely some overload and inconsistency issue with multiple publishers, may be breaking down the implementations to multiple services of sending emails in batches would help, You may also make use of author instance to create cron services to read emails and send it.

 

you may also refer to this, if this helps-- https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sending-bulk-email-using-cq-mail-service/m-p/195995

 

Raja-Karuppsamy
Community Advisor
Community Advisor
October 29, 2021

Hi @abhishekarora_749 - You can try to integrate Adobe Campaign with AEM for sending mail notification to subscribers.

Shubham_borole
Community Advisor
Community Advisor
October 30, 2021

@abhishekarora_749 

Are these subscribers/users aem users whose emails are stored in aem (/home/users..)?

Thinking of following..

create an event listener in one of the publishers (or secondary author instance), the listener will schedule to call a service after hours or immediately. The service will have the logic to get the subscribers list (emails) and send out the desired email.

 

If you happen to have a secondary author instance where primary author replicates to, add the event listener in the secondary author, so the email are sent from there.