How to send e-mail when publishing a page? | Adobe Higher Education
Skip to main content
AEMing
Level 2
October 16, 2015
Respondido

How to send e-mail when publishing a page?

  • October 16, 2015
  • 3 respostas
  • 1638 Visualizações

Users of my site should be able to subscribe to a news mailing list. When publishing pages based on a news page template, a mail should automatically be sent to users on the news mailing list. The mail should contain a snippet / teaser of the news page published.

How would I go about implementing the above using AEM?

Use the existing mailing list (subscribe / unsubscribe) functionality and add a custom workflow to handle the sending of mail when publishing a page based on the news template?

Este tópico foi fechado para respostas.
Melhor resposta por Ratna_Kumar

Hi,

Workflows is the better approach in this use case. Check in this example link: https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html

Thanks,
Ratna Kumar.

3 Respostas

smacdonald2008
Level 10
October 16, 2015

Using a Workflow for this use case is the correct way to proceed. The workflow will publish the page and then send email messages to a subscribed list. 

Ratna_Kumar
Ratna_KumarResposta
Level 10
October 16, 2015

Hi,

Workflows is the better approach in this use case. Check in this example link: https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html

Thanks,
Ratna Kumar.

edubey
Level 10
October 16, 2015
You can implement your custom event handler which will listen for a activation of a pages. In that handler you can write you code to send snippet n email. Here is a example:- https://helpx.adobe.com/experience-manager/using/events.html