package sihl

  1. Overview
  2. Docs
The modular functional web framework

Install

Dune Dependency

Authors

Maintainers

Sources

sihl-queue-0.1.5.tbz
sha256=bfa7bde9af02bb83d5ca39d54797b05b43317f033d93d24ca86ca42ff8ef83a1
sha512=6bb8727f65116e8042aa1fb77b3c14851ce5238f7b412adadf0f8e5b52d5310e8f06056c96bf76a82ffd7096753f49b2b0482f41e18ee1ca94310b874fe81bf9

doc/sihl.email/Email/index.html

Module EmailSource

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
Sourcemodule DevInbox : sig ... end
Sourcetype 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: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.