package mrmime

  1. Overview
  2. Docs
type domain = [
  1. | `Literal of string
  2. | `Domain of string list
]
type t = Emile.local * domain
module Domain : sig ... end

An RFC 822 domain can be constructed in two ways. This construction differs from Address.domain. We can construct a common domain via:

Pretty-printers.

val pp : t Fmt.t

Equals.

val equal : t -> t -> bool

Decoder of message ID.

module Decoder : sig ... end
val of_string : string -> (t, [> Rresult.R.msg ]) Stdlib.result

of_string x tries to parse x as a Message-ID.

Encoder of message ID.

module Encoder : sig ... end
OCaml

Innovation. Community. Security.