Is it possible to make custom Action Objects?
I have a rule to help users who send to variations of "donotreply" so that they get immediate feedback that they need to find a real email address and resend. The goal is to prevent them from thinking they contacted someone and then finding out later that they didn't send to who they thought they did.
One alternative is to make a custom Block Action Object that has a different message and error code from the current generic one about policy.
Another alternative is to use the Notification Action Object along with another custom Action Object called "Swallow". The Notification handles sending the error message back to the sender, and the custom Action Object does exactly the same thing as Block, but it silently eats the email and nothing more.
The former seems cleaner, with the custom Block Object just having an alternative message and error. I can see this type of feature being valuable for other use cases where the message or error code could be more specific.
I have a rule to help users who send to variations of "donotreply" so that they get immediate feedback that they need to find a real email address and resend. The goal is to prevent them from thinking they contacted someone and then finding out later that they didn't send to who they thought they did.
One alternative is to make a custom Block Action Object that has a different message and error code from the current generic one about policy.
Another alternative is to use the Notification Action Object along with another custom Action Object called "Swallow". The Notification handles sending the error message back to the sender, and the custom Action Object does exactly the same thing as Block, but it silently eats the email and nothing more.
The former seems cleaner, with the custom Block Object just having an alternative message and error. I can see this type of feature being valuable for other use cases where the message or error code could be more specific.