package email_message

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Simple.ContentSource

Sourcetype t = private Email.t
Sourceval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
Sourceval of_email : Email.t -> t
Sourceval create_custom : content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
Sourceval create : content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
  • deprecated [since 2019-08] Renamed to [create_custom]
Sourceval html_utf8 : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
Sourceval html : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
  • deprecated [since 2019-08] Please specify the charset, e.g. [html_utf8]
Sourceval text_utf8 : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
Sourceval text : ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t
  • deprecated [since 2019-08] Please specify the charset, e.g. [text_utf8]
Sourceval text_monospace_utf8 : ?extra_headers:(string * string) list -> string -> t

Plain text e-mail that also includes an html version so it's displayed monospace in gmail.

Sourceval text_monospace : ?extra_headers:(string * string) list -> string -> t
  • deprecated [since 2019-08] Please specify the charset, e.g. [text_monospace_utf8]
Sourceval of_file : ?content_type:Mimetype.t -> ?encoding:Octet_stream.Encoding.known -> ?extra_headers:(string * string) list -> string -> t Async.Deferred.t
Sourceval alternatives : ?extra_headers:(string * string) list -> t list -> t
Sourceval mixed : ?extra_headers:(string * string) list -> t list -> t
Sourceval content_type : t -> Mimetype.t
Sourceval content : t -> Octet_stream.t option
Sourceval parts : t -> t list option
Sourceval alternative_parts : t -> t list
Sourceval inline_parts : t -> t list
Sourceval to_file : t -> string -> unit Async.Deferred.Or_error.t
OCaml

Innovation. Community. Security.