package sihl-email

  1. Overview
  2. Docs

Parameters

Signature

val get : Core.Ctx.t -> id:string -> Email__.Model.Template.t option Lwt.t
val get_by_name : Core.Ctx.t -> name:string -> Email__.Model.Template.t option Lwt.t
val create : Core.Ctx.t -> name:string -> html:string -> text:string -> Email__.Model.Template.t Lwt.t
val update : Core.Ctx.t -> template:Email__.Model.Template.t -> Email__.Model.Template.t Lwt.t
val render : Core.Ctx.t -> Email__.Model.t -> Email__.Model.t Lwt.t
OCaml

Innovation. Community. Security.