package sihl-email

  1. Overview
  2. Docs
val get : Sihl_core.Ctx.t -> id:string -> Sihl_email_core__.Model.Template.t option Lwt.t
val get_by_name : Sihl_core.Ctx.t -> name:string -> Sihl_email_core__.Model.Template.t option Lwt.t
val create : Sihl_core.Ctx.t -> name:string -> html:string -> text:string -> Sihl_email_core__.Model.Template.t Lwt.t
val update : Sihl_core.Ctx.t -> template:Sihl_email_core__.Model.Template.t -> Sihl_email_core__.Model.Template.t Lwt.t
val render : Sihl_core.Ctx.t -> Sihl_email_core__.Model.t -> Sihl_email_core__.Model.t Lwt.t
val register : unit -> Sihl_core.Container.Service.t
OCaml

Innovation. Community. Security.