Module Async_smtp__.Session

type t = {
remote : Async_smtp_types.Smtp_socket_address.t;
local : Async_smtp_types.Smtp_socket_address.t;
helo : string option;
tls : Async_ssl.Std.Ssl.Connection.t option;
authenticated : string option;
advertised_extensions : Async_smtp_types.Smtp_extension.t list;
}
include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val advertised_extensions : t ‑> Async_smtp_types.Smtp_extension.t list
val authenticated : t ‑> string option
val tls : t ‑> Async_ssl.Std.Ssl.Connection.t option
val helo : t ‑> string option
module Fields : sig ... end
val create : remote:Async_smtp_types.Smtp_socket_address.t ‑> local:Async_smtp_types.Smtp_socket_address.t ‑> ?⁠helo:string ‑> ?⁠tls:Async_ssl.Std.Ssl.Connection.t ‑> ?⁠authenticated:string ‑> ?⁠advertised_extensions:Async_smtp_types.Smtp_extension.t list ‑> unit ‑> t
val cleanup : t ‑> unit Async.Deferred.Or_error.t