Open rtcoms opened 6 years ago
current configuration allow to prevent email only on basis of receiver and notification_type.
receiver
notification_type
Wupee.email_sending_rule = Proc.new do |receiver, notification_type| end
In my case I need to prevent email notification based on attached_object type. How should I go about it ?
Solved in by having a separate attribute on receiver and using that in Wupee.email_sending_rule Proc. Closing it.
Wupee.email_sending_rule
current configuration allow to prevent email only on basis of
receiver
andnotification_type
.In my case I need to prevent email notification based on attached_object type. How should I go about it ?