Can we subscribe and receive Emails on addition of any new content in backoffice?
Hi,
So I want my users to be able to subscribe to my website.
Is it possible to send them a mail when any new page is added in the content section of backoffice? (name and url of new page)
Can we subscribe and receive Emails on addition of any new content in backoffice?
Hi,
So I want my users to be able to subscribe to my website. Is it possible to send them a mail when any new page is added in the content section of backoffice? (name and url of new page)
Swati
Hello Swathi,
Yes this could be done with an Umbraco ContentService event.
So whenever a content node is published you are able to be notified of what node & url of that page was published.
https://our.umbraco.org/documentation/Reference/Events/
https://our.umbraco.org/documentation/Reference/Events/Application-Startup
https://our.umbraco.org/documentation/Reference/Events/ContentService-Events
You could pass this to some function/method that would send out the newly published page to say a MailChimp subscriber list.
Hi Warren,
Im sorry this is not clear, can you please give more details? How do i make this work
Swati
Hi Swathi,
Warren Buckley has explained nicely!!!
You need to override the
Published
event ofContentService
.First you need to add a class file in your umbraco project, using visual studio (obviously) and then put the following code in you class file.
Here the SendMail module can be replace with sub routine like, sendemailusingmailchimp().
Hope this helps.
LUV Umbraco.
is working on a reply...