method

create_inbound_email_from_mail

create_inbound_email_from_mail(status: :processing, **mail_options)
public

Create an InboundEmail by specifying it using Mail.new options. Example:

create_inbound_email_from_mail(from: "david@loudthinking.com", subject: "Hello!")