Hi,
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?
Best,
Daniel
Hi,
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?
Best,
Daniel
Add a hook in your custom app to capture Comment update and send email via hooked method.
doc_events = {
"Comment": {
"on_update": "method",
}
}
Sorry for asking…where should I add this?
Dan
Create a custom app and add this to the hooks.py (it has comments and placeholders, you’ll understand).