Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Sihl_email
Sourceinclude module type of struct include Sihl.Contract.Email end
type t = {
sender : string;
recipient : string;
subject : string;
text : string;
html : string option;
cc : string list;
bcc : string list;
}
type smtp_config = {
sender : string;
username : string;
password : string;
hostname : string;
port : int option;
start_tls : bool;
ca_path : string option;
ca_cert : string option;
console : bool option;
}
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
val sendgrid_schema :
(string, string -> bool option -> sendgrid_config, sendgrid_config)
Conformist.t