Notify multiple times custom event to send email not working

Having obj = the object that was modified and SendNotificationEvent a custom event I'm trying to notify the custom event something like:

for email in emails:
    notify(SendNotificationEvent(obj, email))

I have a custom content rule with send email action that sends the message on SendNotificationEvent.

The problem is a single message is sent. The first one. It seems notify is working a single time. Do you have any idea how to investigate and fix this issue?

I already tried with debugger here and it seems I can notify the event for other objects and the email is sent, but for each different obj a single one then nothing happens.

Solved. See: https://stackoverflow.com/questions/52146437/notify-multiple-times-custom-event-to-send-email-not-working/52149414#52149414

1 Like