package sihl-email

  1. Overview
  2. Docs

Module Sihl_email.MakeSendGridSource

Parameters

Signature

include Sihl_core.Container.Service.Sig
Sourceval lifecycle : Sihl_core__.Container.Lifecycle.t
Sourceval send : Sihl_type.Email.t -> unit Lwt.t

Send email.

Sourceval bulk_send : Sihl_type.Email.t list -> unit Lwt.t

Send multiple emails. If sending of one of them fails, the function fails.

Sourceval register : unit -> Sihl_core.Container.Service.t