SmtpServerInfo class Null safety

Keeps information about the remote SMTP server

Persist this information to improve initialization times.

Constructors

SmtpServerInfo(String host, int port, bool isSecure)

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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