package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type envelope_id = string
type rejected_recipients = (Async_smtp_types.Email_address.t * Smtp_reply.t) list
type err = [
  1. | `Rejected_sender of Smtp_reply.t
  2. | `Rejected_all_recipients of rejected_recipients
  3. | `Rejected_sender_and_recipients of Smtp_reply.t * rejected_recipients
  4. | `Rejected_body of Smtp_reply.t * rejected_recipients
]
val sexp_of_err : err -> Sexplib0.Sexp.t
type t = (ok, err) Core.Result.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_string : t -> string
val ok_or_error : allow_rejected_recipients:bool -> t -> string Core.Or_error.t
val ok_exn : allow_rejected_recipients:bool -> t -> string
OCaml

Innovation. Community. Security.