package sihl

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

A template service to manage email templates.

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.