package mrmime

  1. Overview
  2. Docs
type t = [
  1. | `Group of Group.t
  2. | `Mailbox of Mailbox.t
]

Type of address, an address may either be an individual mailbox, or a group of mailboxes.

val group : Group.t -> t

group g returns an address from a Group.t.

val mailbox : Mailbox.t -> t

mailbox m returns an address from a Mailbox.t.

Equals.

val equal : t -> t -> bool

Equal function of t.

Pretty-printers.

val pp : t Fmt.t

Pretty-printer of t.

Decoder of address.

module Decoder : sig ... end

Encoder of address.

module Encoder : sig ... end
OCaml

Innovation. Community. Security.