instance method
receive_inbound_email_from_mail
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
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
-
kwargskeyrest -
blockblock
Source
# File actionmailbox/lib/action_mailbox/test_helper.rb, line 86
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 86
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailbox::TestHelper