SpamReport
public struct SpamReport : EmailEventRepresentable, Codable
The SpamReport struct represents a spam report 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 IP address of the user when they marked the email as spam.
Declaration
Swift
public let ip: String
-
Initializes the event with all the required properties.
Declaration
Swift
public init(email: String, created: Date, ip: String)Parameters
emailThe email address on the event.
createdThe date and time the event occurred on.
ipThe IP address of the user when they marked the email as spam.
View on GitHub
SpamReport Structure Reference