package sihl-contract

  1. Overview
  2. Docs

Source file email.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
open Sihl_type

module type Sig = sig
  include Sihl_core.Container.Service.Sig

  (** Send email. *)
  val send : Email.t -> unit Lwt.t

  (** Send multiple emails. If sending of one of them fails, the function fails.*)
  val bulk_send : Email.t list -> unit Lwt.t

  val register : unit -> Sihl_core.Container.Service.t
end