DVSmtpConnection class abstract
One SMTP connection. The transport is abstracted so tests drive a scripted conversation instead of opening a socket.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readLine(
) → Future< String> - Reads one CRLF-terminated line, without the terminator.
-
startTls(
) → Future< DVSmtpConnection> -
Upgrades the connection after a successful
STARTTLS, returning the secured connection (which may be a different object). -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited