instance method
create_inbound_email_from_source
Ruby on Rails 6.0.6
Since v6.0.6Signature
create_inbound_email_from_source(source, status: :processing)
Create an InboundEmail using the raw rfc822 source as text.
Parameters
-
sourcereq -
statuskey = :processing
Source
# File actionmailbox/lib/action_mailbox/test_helper.rb, line 25
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 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailbox::TestHelper