package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private Email.t
include sig ... end
val sexp_of_t : t -> Sexplib.Sexp.t
val of_email : Email.t -> t
val create : content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
val html : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
val text : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
val of_file : ?content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t Async.Deferred.t
val alternatives : ?extra_headers:(string * string) list -> t list -> t
val mixed : ?extra_headers:(string * string) list -> t list -> t
val content_type : t -> Mimetype.t
val content : t -> Octet_stream.t option
val parts : t -> t list option
val alternative_parts : t -> t list
val inline_parts : t -> t list
val to_file : t -> string -> unit Async.Deferred.Or_error.t
OCaml

Innovation. Community. Security.