package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : string -> t

Creates a boundary from the value of the "boundary" parameter in a Content-type header (RFC2046, p.19) Alias of to_string.

Splits an multipart body into a list of messages, and, if there are, an optional prologue and epilogue.

val join : t -> (Bigstring_shared.t option * String_monoid.t list * Bigstring_shared.t option) -> String_monoid.t
val generate : ?text:Bigstring_shared.t -> ?suggest:t -> unit -> t

Creates valid boundaries for given text.

Open an close boundaries

module Open : sig ... end

Used when the boundary indicates a new part

module Close : sig ... end

Used when the boundary indicates that there are no more parts

module Open_first : sig ... end

Used when the boundary indicates the beginning of the first part of the message, and there is no prologue.

include Core.Stringable.S with type t := t
val of_string : string -> t
val to_string : t -> string
module Stable : sig ... end
OCaml

Innovation. Community. Security.