Plasma GitLab Archive
Projects Blog Knowledge

Class Netaddress.mailbox

class mailbox : ?name:string -> string list -> addr_spec -> object .. end

A mailbox has a name, optionally a route (not used nowadays), and a formal address specification.

Create a mailbox with

new mailbox ~name route addr_spec

Pass route = [] if not used (formerly, routes were used to specify the way the mail should take from the sender to the receiver, and contained a list of hostnames/IP addresses).


method name : string

The name of the mailbox. Raises Not_found if not set

method route : string list

The route to the mailbox

method spec : addr_spec

The formal address specification

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml