package sihl

  1. Overview
  2. Docs

Module Contract.EmailSource

Sourcetype 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;
}
Sourceval name : string
Sourceexception Exception of string
Sourcemodule type Sig = sig ... end
Sourceval to_sexp : t -> Sexplib0.Sexp.t
Sourceval pp : Format.formatter -> t -> unit
Sourceval of_yojson : Yojson__Safe.t -> t option
Sourceval to_yojson : t -> [> `Assoc of (string * [> `List of [> `String of string ] list | `Null | `String of string ]) list ]
Sourceval set_text : string -> t -> t
Sourceval set_html : string option -> t -> t
Sourceval create : ?html:string -> ?cc:string list -> ?bcc:string list -> sender:string -> recipient:string -> subject:string -> string -> t
OCaml

Innovation. Community. Security.