instance method receive_inbound_email_from_mail

Ruby on Rails 8.1.2

Since v6.0.6

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

receive_inbound_email_from_mail(**kwargs, &block)

Create an InboundEmail using the same options or block as create_inbound_email_from_mail, then immediately route it for processing.

Parameters

kwargs keyrest
block block
Source
# File actionmailbox/lib/action_mailbox/test_helper.rb, line 85
    def receive_inbound_email_from_mail(**kwargs, &block)
      create_inbound_email_from_mail(**kwargs, &block).tap(&:route)
    end

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

Defined in ActionMailbox::TestHelper

Type at least 2 characters to search.

↑↓ navigate · open · esc close