SmtpServerInfo class

Keeps information about the remote SMTP server

Persist this information to improve initialization times.

Constructors

SmtpServerInfo.new(String host, int port, bool isSecure)

Properties

authMechanisms List<AuthMechanism>
getter/setter pair
capabilities List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String
final
isSecure bool
final
maxMessageSize int?
getter/setter pair
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supports8BitMime bool
Checks if the server supports sending of 8bit encoded messages.
no setter
supportsChunking bool
Checks if the server supports chunked message transfer using the BDATA command.
no setter
supportsStartTls bool
Checks if the server supports (and usually expects) switching to SSL connection before authentication.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supports(String capability) bool
Checks if the given capability is supported, e.g. final supportsPipelining = smtpClient.serverInfo.supports(PIPELINING);.
supportsAuth(AuthMechanism authMechanism) bool
Checks of the specified authMechanism is supported.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited