PersistentConnection class
Constructors
- PersistentConnection(SmtpServer smtpServer, {Duration? timeout})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mailSendTasksController
→ StreamController<
_MailSendTask> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Throws following exceptions:
SmtpClientAuthenticationException,
SmtpUnsecureException,
SmtpClientCommunicationException,
SocketException
Please report other exceptions you encounter. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
Message message) → Future< SendReport> -
Throws following exceptions:
SmtpClientAuthenticationException,
SmtpUnsecureException,
SmtpClientCommunicationException,
SocketException
// Connection dropped Please report other exceptions you encounter. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited