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:(Headers.Name.t * Headers.Value.t) list -> string -> t
val html : ?extra_headers:(Headers.Name.t * Headers.Value.t) list -> string -> t
val text : ?extra_headers:(Headers.Name.t * Headers.Value.t) list -> string -> t
val of_file : ?content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(Headers.Name.t * Headers.Value.t) list -> string -> t Async.Std.Deferred.t
val alternatives : ?extra_headers:(Headers.Name.t * Headers.Value.t) list -> t list -> t
val with_related : ?extra_headers:(Headers.Name.t * Headers.Value.t) list -> resources:(attachment_name * t) list -> t -> t