Block
public struct Block : EmailEventRepresentable, Codable
The Block struct represents a block 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
emailThe email address on the event.
createdThe date and time the event occurred on.
reasonThe response from the recipient server.
statusThe status code of the event.
View on GitHub
Block Structure Reference