SMTPError
public enum SMTPError: Error, CustomStringConvertible
Error while SMTP connecting and communicating.
-
Could not connect to remote server.
Declaration
Swift
case couldNotConnect
-
Connecting to SMTP server time out
Declaration
Swift
case timeOut
-
The response of SMTP server is bad and not expected.
Declaration
Swift
case badResponse
-
No connection has been established
Declaration
Swift
case noConnection
-
Authorization failed
Declaration
Swift
case authFailed
-
Can not authorizate since target server not support EHLO
Declaration
Swift
case authNotSupported
-
No form of authorization methos supported
Declaration
Swift
case authUnadvertised
-
Connection is closed by remote
Declaration
Swift
case connectionClosed
-
Connection is already ended
Declaration
Swift
case connectionEnded
-
Connection auth failed
Declaration
Swift
case connectionAuth
-
Unknown error
Declaration
Swift
case unknown
-
A human-readable description of SMTP error.
Declaration
Swift
public var description: String