package email_message

  1. Overview
  2. Docs
E-mail message parser

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=3aa5c85da8530c277cf9e72e18861b235b3b872f08c87f118c04478433320ebb

doc/email_message.kernel/Email_message_kernel/Private/Boundary/index.html

Module Private.BoundarySource

Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourcetype boundary = t

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

include Core.Stringable.S with type t := t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourcemodule Generator : sig ... end
Sourceval generate_non_conflicting_boundary : ?prologue:Bigstring_shared.t -> parts:String_monoid.t list -> ?epilogue:Bigstring_shared.t -> Generator.t -> t

Use the generator to find a boundary that doesn't conflict.

Sourceval join_without_checking_for_conflicts : ?prologue:Bigstring_shared.t -> parts:String_monoid.t list -> ?epilogue:Bigstring_shared.t -> t -> String_monoid.t

Combine parts using the given boundary. This assumes that the boundary doesn't conflict.

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

Sourcemodule Stable : sig ... end
OCaml

Innovation. Community. Security.