Skip to content

Get an email notification when a new comment is added #2016

Answered by tidyui
kimlundjohansen asked this question in Ideas
Discussion options

You must be logged in to vote

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kimlundjohansen
Comment options

@kimlundjohansen
Comment options

Answer selected by kimlundjohansen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants