Class: Mailkube::Events::BouncedData

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

Overview

The data of email.bounced: the message, plus the receiving server's rejection.

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

#bounceFailureContext

Returns the bounce, with its SMTP code and reason.

Returns:



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

def bounce = block(FailureContext, "bounce")