package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A template service to manage email templates.

val lifecycle : Sihl__.Core_container.Lifecycle.t
val get : Core.Ctx.t -> id:string -> Sihl__.Email_core.Template.t option Lwt.t
val get_by_name : Core.Ctx.t -> name:string -> Sihl__.Email_core.Template.t option Lwt.t
val create : Core.Ctx.t -> name:string -> html:string -> text:string -> Sihl__.Email_core.Template.t Lwt.t
val update : Core.Ctx.t -> template:Sihl__.Email_core.Template.t -> Sihl__.Email_core.Template.t Lwt.t
val render : Core.Ctx.t -> Sihl__.Email_core.t -> Sihl__.Email_core.t Lwt.t
OCaml

Innovation. Community. Security.