Get an email notification when a new comment is added #2016
Answered
by
tidyui
kimlundjohansen
asked this question in
Ideas
-
Currently my setup is to not auto approve comments. To avoid having to closely monitor the admin interface for incoming awaiting approval it would be nice to retrieve an email for the registered SysAdmin. |
Beta Was this translation helpful? Give feedback.
Answered by
tidyui
Oct 4, 2023
Replies: 1 comment 2 replies
-
Hi there! The correct way to approach this would be to use the existing https://piranhacms.org/docs/master/application/hooks This way you can add application code to send an email after every new comment is added. Best regards |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kimlundjohansen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there! The correct way to approach this would be to use the existing
OnAfterSave
hook for comments, see the docs here:https://piranhacms.org/docs/master/application/hooks
This way you can add application code to send an email after every new comment is added.
Best regards