Ensure that the InboundEmail is automatically scheduled for later incineration if the status has been changed to processed. The later incineration will be invoked at the time specified by the ActionMailbox.incinerate_after time using the IncinerationJob.

Namespace

Class

Methods

Instance Public methods

incinerate()

📝 Source code
# File actionmailbox/app/models/action_mailbox/inbound_email/incineratable.rb, line 17
  def incinerate
    Incineration.new(self).run
  end
🔎 See on GitHub

incinerate_later()

📝 Source code
# File actionmailbox/app/models/action_mailbox/inbound_email/incineratable.rb, line 13
  def incinerate_later
    ActionMailbox::IncinerationJob.schedule self
  end
🔎 See on GitHub