package sihl-email

  1. Overview
  2. Docs

Parameters

Signature

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
OCaml

Innovation. Community. Security.