package ez_api
Module EzSendgridSource
Source
val send :
?encoding:??? ->
api_key:string ->
'a EzSendgrid_types.mail ->
(unit, string option EzReq_lwt_S.api_error) result Lwt.tSource
val send_one :
?reply_to:??? ->
api_key:string ->
dst:(string * string option) ->
from:(string * string option) ->
subject:string ->
(string * string) list ->
(unit, string option EzReq_lwt_S.api_error) result Lwt.tSource
val send_template :
?reply_to:??? ->
api_key:string ->
dst:(string * string option) list ->
from:(string * string option) ->
string ->
string ->
(unit, string option EzReq_lwt_S.api_error) result Lwt.tSource
val add_contacts :
api_key:string ->
?list_ids:??? ->
EzSendgrid_types.contact list ->
(string, string option EzReq_lwt_S.api_error) result Lwt.tSource
val delete_contacts :
api_key:string ->
?all:??? ->
string list ->
(string, string option EzReq_lwt_S.api_error) result Lwt.tSource
val remove_contact_list :
api_key:string ->
string ->
string list ->
(string, string option EzReq_lwt_S.api_error) result Lwt.tSource
val contacts_count :
api_key:string ->
(int, string option EzReq_lwt_S.api_error) result Lwt.tSource
val get_contact :
api_key:string ->
string ->
(EzSendgrid_types.contact * EzSendgrid_types.contact_more,
string option EzReq_lwt_S.api_error)
result
Lwt.tSource
val search_contacts :
api_key:string ->
string ->
(int * (EzSendgrid_types.contact * EzSendgrid_types.contact_more) list,
string option EzReq_lwt_S.api_error)
result
Lwt.t