instance method create_inbound_email_from_source

Ruby on Rails 7.2.3

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

create_inbound_email_from_source(source, status: :processing)

Create an InboundEmail using the raw rfc822 source as text.

Parameters

source req
status key = :processing
Source
# File actionmailbox/lib/action_mailbox/test_helper.rb, line 72
    def create_inbound_email_from_source(source, status: :processing)
      ActionMailbox::InboundEmail.create_and_extract_message_id! source, status: status
    end

Defined in actionmailbox/lib/action_mailbox/test_helper.rb line 72 · 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