Bounce

public struct Bounce : EmailEventRepresentable, Codable

The Bounce struct represents a bounce event.

  • The email address on the event.

    Declaration

    Swift

    public let email: String
  • The date and time the event occurred on.

    Declaration

    Swift

    public let created: Date
  • The response from the recipient server.

    Declaration

    Swift

    public let reason: String
  • The status code of the event.

    Declaration

    Swift

    public let status: String
  • Initializes the event with all the required properties.

    Declaration

    Swift

    public init(email: String, created: Date, reason: String, status: String)

    Parameters

    email

    The email address on the event.

    created

    The date and time the event occurred on.

    reason

    The response from the recipient server.

    status

    The status code of the event.