instance method bounce_now_with

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

bounce_now_with(message)

Immediately sends the given message and changes the inbound email’s status to :bounced.

Parameters

message req
Source
# File actionmailbox/lib/action_mailbox/base.rb, line 111
    def bounce_now_with(message)
      inbound_email.bounced!
      message.deliver_now
    end

Defined in actionmailbox/lib/action_mailbox/base.rb line 111 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionMailbox::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close