Is there any package/suggestion available which server the purpose for getting email alert.
Here is my scenario
I have created a new property called "Review date". CMS user can set this for future date. CMS admin should receive an email once the date arrived.
In umbraco can do using scheduled tasks. Where you set up to daily read this property and trigger the email. contentservice events not help you. Because events are triggered when a backoffice user publishes or saves content. If this does not happen, your email is not sent.
You need to create a route (GET), SurfaceController or WebApi and configure the method. I suggest putting a querysting a check code so that this route is not executed by someone else
There is this option to use hangfire. very interesting
Set Email notification on content change
Hi
Is there any package/suggestion available which server the purpose for getting email alert.
Here is my scenario I have created a new property called "Review date". CMS user can set this for future date. CMS admin should receive an email once the date arrived.
Please provide your suggestion/feedback on this.
Thanks Manish
Hello, take a look at https://our.umbraco.org/documentation/reference/events/contentservice-events . You can intercept the save of the document and check if that value has changed (and send an email)
[edit] nevermind I've misread your post, I've read "changed" instead of "arrived", you should go with scheduled tasks as Marcio Goularte said.
Take a look at https://www.isaksen.org/2017/06/22/scheduled-task-in-umbraco-7/ for a good example
Hi Manish,
In umbraco can do using scheduled tasks. Where you set up to daily read this property and trigger the email. contentservice events not help you. Because events are triggered when a backoffice user publishes or saves content. If this does not happen, your email is not sent.
https://our.umbraco.org/Documentation/Reference/Config/umbracoSettings/#scheduledtasks
You need to create a route (GET), SurfaceController or WebApi and configure the method. I suggest putting a querysting a check code so that this route is not executed by someone else
There is this option to use hangfire. very interesting
http://www.abstractmethod.co.uk/blog/2016/4/better-task-scheduling-in-umbraco/
backoffice
http://www.jondjones.com/learn-umbraco-cms/umbraco-developers-guide/umbraco-event-handling/how-to-intergrate-hangfire-into-the-umbraco-backend
I posted in the forum a long time ago an example, but I'm not finding it!
UPDATE: FOUND!
You can follow this example.
https://our.umbraco.org/forum/using-umbraco-and-getting-started/85822-problem-extreme-slowly-loading-website#comment-272021
is working on a reply...