package sihl

  1. Overview
  2. Docs
type t = {
  1. sender : string;
  2. recipient : string;
  3. subject : string;
  4. text : string;
  5. html : string option;
  6. cc : string list;
  7. bcc : string list;
}
val name : string
exception Exception of string
module type Sig = sig ... end
val to_sexp : t -> Sexplib0.Sexp.t
val pp : Format.formatter -> t -> unit
val of_yojson : Yojson__Safe.t -> t option
val to_yojson : t -> [> `Assoc of (string * [> `List of [> `String of string ] list | `Null | `String of string ]) list ]
val set_text : string -> t -> t
val set_html : string option -> t -> t
val create : ?html:string -> ?cc:string list -> ?bcc:string list -> sender:string -> recipient:string -> subject:string -> string -> t
OCaml

Innovation. Community. Security.