Up
Module
Content
Signature
type
t =
private
email
val
of_email :
email
->
t
val
create : content_type:
Mimetype.t
-> ?encoding:
Octet_stream.Encoding.known
-> ?extra_headers:(string * string) list -> string ->
t
val
html : ?extra_headers:(
Field_name.t
* string) list -> string ->
t
val
text : ?extra_headers:(
Field_name.t
* string) list -> string ->
t
val
of_file : ?content_type:
Mimetype.t
-> ?encoding:
Octet_stream.Encoding.known
-> ?extra_headers:(
Field_name.t
* string) list -> string ->
t
Async.Std.Deferred.t
val
alternatives : ?extra_headers:(
Field_name.t
* string) list ->
t
list ->
t
val
with_related : ?extra_headers:(
Field_name.t
* string) list -> resources:(
attachment_name
*
t
) list ->
t
->
t