Class: Mailkube::Events::FailedData

Inherits:
MessageContext show all
Defined in:
lib/mailkube/events/payloads.rb,
sig/mailkube/events/payloads.rbs

Overview

The data of email.failed: the message, plus why it never went out.

Instance Attribute Summary

Attributes inherited from Node

#raw

Instance Method Summary collapse

Methods inherited from MessageContext

#created_at, #domain, #email_id, #from, #subject, #tags, #to

Methods inherited from Node

#==, #[], #block, #hash, #initialize, #to_h

Constructor Details

This class inherits a constructor from Mailkube::Events::Node

Instance Method Details

#failedSendFailureContext

Returns the message-level failure.

Returns:



44
# File 'lib/mailkube/events/payloads.rb', line 44

def failed = block(SendFailureContext, "failed")