package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. local : Async.Socket.Address.Inet.t;
  2. remote : Async.Socket.Address.Inet.t;
  3. helo : string option;
  4. tls : bool;
  5. authenticated : string option;
}
val authenticated : t -> string option
val tls : t -> bool
module Fields : sig ... end
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val empty : t
val connect : state:'state -> log:Async.Log.t -> local:Async.Socket.Address.Inet.t -> remote:Async.Socket.Address.Inet.t -> t Smtp_monad.t
val greeting : 't -> string
val helo : state:'state -> log:Async.Log.t -> t -> string -> t Smtp_monad.t
val extensions : state:'state -> 't -> 't Extension.t list
val disconnect : state:'state -> log:Async.Log.t -> 't -> unit Smtp_monad.t
OCaml

Innovation. Community. Security.