package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. remote : Async.Socket.Address.Inet.t;
  2. local : Async.Socket.Address.Inet.t;
  3. helo : string option;
  4. tls : Async_ssl.Std.Ssl.Connection.t option;
  5. authenticated : string option;
  6. advertised_extensions : Async_smtp_types.Smtp_extension.t list;
}
val sexp_of_t : t -> Sexplib0.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
val local : t -> Async.Socket.Address.Inet.t
val remote : t -> Async.Socket.Address.Inet.t
module Fields : sig ... end
val create : remote:Async.Socket.Address.Inet.t -> local:Async.Socket.Address.Inet.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
OCaml

Innovation. Community. Security.