E-Mail Alert: Alert on new Comment


I have been searching the web the last hour…but I did not find any information on this topic…I want to send an E-Mail alert on new comment…regardless which Doctype…is that somehow possible?


Add a hook in your custom app to capture Comment update and send email via hooked method.

doc_events = {
	"Comment": {
		"on_update": "method",
1 Like

Sorry for asking…where should I add this?

Create a custom app and add this to the hooks.py (it has comments and placeholders, you’ll understand).