package sihl-type

  1. Overview
  2. Docs

Module Sihl_type.EmailSource

Sourceexception Exception of string
Sourcetype t = {
  1. sender : string;
  2. recipient : string;
  3. subject : string;
  4. text_content : string;
  5. html_content : string;
  6. cc : string list;
  7. bcc : string list;
  8. html : bool;
  9. template_id : string option;
  10. template_data : (string * string) list;
}
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval make : sender:string -> recipient:string -> subject:string -> text_content:string -> html_content:string -> ?cc:string list -> ?bcc:string list -> html:bool -> ?template_id:string -> ?template_data:(string * string) list -> unit -> t
Sourceval template_data : t -> (string * string) list
Sourceval template_id : t -> string option
Sourceval html : t -> bool
Sourceval bcc : t -> string list
Sourceval cc : t -> string list
Sourceval html_content : t -> string
Sourceval text_content : t -> string
Sourceval subject : t -> string
Sourceval recipient : t -> string
Sourceval sender : t -> string
Sourcemodule Fields : sig ... end
Sourceval inbox : t list ref
Sourceval get_inbox : unit -> t list
Sourceval add_to_inbox : t -> unit
Sourceval clear_inbox : unit -> unit
Sourceval set_text_content : string -> t -> t
Sourceval set_html_content : string -> t -> t
OCaml

Innovation. Community. Security.