Hi,
I’m trying to send a Notification to the sender of an email to warn him that the email hasn’t been sent. When I try to save the Notification, I get:
I also tried to create an event on the hooks.py on both ‘Email Queue’ and ‘Communication’, but none of them worked (on_submit, before_save).
The ‘Communication’ doctype doesn’t seem that helpful for this case since it doesn’t seem to trigger the ‘before_save’ when the Email Queue status changed.
My last option is to use a scheduler, but I would prefer using a hook.
Does anyone knows a way to do this using hooks?
I remember coming across this in version 10. I believe what we found was that the Email Queue document doesn’t have a valid owner (or maybe it was owned by Admin). IT was a long time ago and I do not know for sure, but it is worth looking into.
I remember wanting to do this also and my paid developer said it could not be done easily using the email queue so I abandoned it.