Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Sihl.Contract.Email end
module type Sig = Sihl.Contract.Email.Sig
val to_sexp : t -> Sexplib0.Sexp.t
val pp : Format.formatter -> t -> unit
val of_yojson : Yojson__Safe.t -> t option
val to_yojson :
t ->
[> `Assoc of
(string
* [> `List of [> `String of string ] list | `Null | `String of string ])
list ]
val create :
?html:string ->
?cc:string list ->
?bcc:string list ->
sender:string ->
recipient:string ->
subject:string ->
string ->
t
val log_src : Logs.src
val dev_inbox : Sihl.Contract.Email.t list ref
module DevInbox : sig ... end
val print : Sihl.Contract.Email.t -> unit
val intercept :
(Sihl.Contract.Email.t -> unit Lwt.t) ->
Sihl.Contract.Email.t ->
unit Lwt.t
module type SmtpConfig = sig ... end
val smtp_config :
string ->
string ->
string ->
string ->
int option ->
bool ->
string option ->
string option ->
bool option ->
smtp_config
val smtp_schema :
(string,
string ->
string ->
string ->
string ->
int option ->
bool ->
string option ->
string option ->
bool option ->
smtp_config,
smtp_config)
Conformist.t
module MakeSmtp (Config : SmtpConfig) : Sihl.Contract.Email.Sig
module EnvSmtpConfig : sig ... end
module Smtp : sig ... end
module type SendGridConfig = sig ... end
val sendgrid_config : string -> bool option -> sendgrid_config
val sendgrid_schema :
(string, string -> bool option -> sendgrid_config, sendgrid_config)
Conformist.t
module MakeSendGrid (Config : SendGridConfig) : Sihl.Contract.Email.Sig
module EnvSendGridConfig : sig ... end
module SendGrid : sig ... end
module Template : sig ... end