package sihl

  1. Overview
  2. Docs
The modular functional web framework

Install

Dune Dependency

Authors

Maintainers

Sources

sihl-0.1.2.tbz
sha256=69705a3a35f204acfdda62f61056e3f0ec3ef5bcd1df1508be65b066a0b1df9c
sha512=1987d211f56d0261eefbae978065a4e6781d60ad94b08597875307e5cf6e5a1b79787d9c79f784f5a9f77c35203cfd0b488841a07adfd87b0710d6fd65422b94

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.

Sourcemodule Service : sig ... end
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
OCaml

Innovation. Community. Security.