package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val multipart_boundary : t -> Email_message__.Boundary.t option
val set_multipart_boundary : t -> Email_message__.Boundary.t -> t
val from_headers : Email_message__.Headers.t -> t option
val set_headers : Email_message__.Headers.t -> t -> Email_message__.Headers.t
val default : ?parent:t -> unit -> t
val create : string -> string -> t

create type_ subtype represents the mime-type "type_/subtype".

val mime_type : t -> string
val mime_subtype : t -> string
val create_multipart : string -> boundary:Email_message__.Boundary.t -> t
val message_rfc822 : t
val text_plain : ?charset:string -> unit -> t
val is_text : t -> bool
val is_multipart : t -> bool
val is_multipart_report : t -> bool
val is_message_rfc822 : t -> bool
val is_digest : t -> bool