User
public struct User
Represents a sender or receiver of an email.
-
The user’s name that is displayed in an email. Optional.
Declaration
Swift
public let name: String?
-
The user’s email address.
Declaration
Swift
public let email: String
-
Initializes a
User
.Declaration
Swift
public init(name: String? = nil, email: String)
Parameters
name
The user’s name that is displayed in an email. Optional.
email
The user’s email address.