[Mailmunge] Mailmunge::Response syntax
Dianne Skoll
dianne at skollsoft.com
Tue Jul 30 17:25:57 EDT 2024
On Tue, 30 Jul 2024 15:46:15 -0400
list--- via Mailmunge <mailmunge at lists.mailmunge.org> wrote:
> I asked because i found in my older code
> filter_message {
> $ctx->action_bounce(...);
> return if $ctx->message_rejected();
> }
Right... that's in "message-filtering" context, and the action_XXX calls
are different from just constructing a Mailmunge::Response object.
> My plan is to update the filer_message{} to using Mailmunge::Response
> instead of $ctx->action_bounce(). And based on your reply, i believe
> doing that would be proper, and in doing that it requires returning
> an object. Thx.
I think it's the proper way, yes, and you're welcome!
Regards,
Dianne.
More information about the Mailmunge
mailing list