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
email
The email address on the event.
created
The date and time the event occurred on.
ip
The IP address of the user when they marked the email as spam.