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