package letters

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type config = {
  1. sender : string;
  2. username : string;
  3. password : string;
  4. hostname : string;
  5. port : int option;
  6. with_starttls : bool;
  7. ca_dir : string;
}
type body =
  1. | Plain of string
  2. | Html of string
type recipient =
  1. | To of string
  2. | Cc of string
  3. | Bcc of string
val build_email : from:string -> recipients:recipient list -> subject:string -> body:body -> Mrmime.Mt.t
val send : config:config -> recipients:recipient list -> message:Mrmime.Mt.t -> (unit, string) Lwt_result.t
OCaml

Innovation. Community. Security.