package sihl

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Sihl_email_coreSource

Use this module to send single emails either immediately or later sending a lot of emails at once. Email template support is also provided.

Sourceexception Exception of string
Sourcemodule Template : sig ... end
Sourcetype t
Sourceval get_inbox : unit -> t list
Sourceval add_to_inbox : t -> unit
Sourceval clear_inbox : unit -> unit
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:Template.Data.t -> unit -> t
Sourceval template_data : t -> Template.Data.t
Sourceval template_id : t -> string option
Sourceval html : t -> bool
Sourceval bcc : t -> string list
Sourceval cc : t -> string list
Sourceval text_content : t -> string
Sourceval html_content : t -> string
Sourceval subject : t -> string
Sourceval recipient : t -> string
Sourceval sender : t -> string
Sourceval set_text_content : string -> t -> t
Sourceval set_html_content : string -> t -> t
Sourceval pp : Format.formatter -> t -> unit
Sourceval show : t -> string
Sourceval equal : t -> t -> bool
Sourceval to_yojson : t -> Yojson.Safe.t
module Sig : sig ... end
OCaml

Innovation. Community. Security.