package tiny_libs

  1. Overview
  2. Docs
From-scratch libraries for teaching: graphics, audio, compression, crypto, networking and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_libs.networking_mail/Mail/index.html

Module MailSource

Sourcetype field = {
  1. name : string;
  2. raw : string;
}
Sourcetype t = {
  1. fields : field list;
  2. body : string;
}
Sourceval parse : string -> t
Sourceval to_string : t -> string
Sourceval get : t -> string -> string option
Sourceval get_all : t -> string -> string list
Sourceval set : string -> string -> t -> t
Sourceval remove : string -> t -> t
Sourceval make : (string * string) list -> string -> t
Sourceval unfold : string -> string
Sourceval lf : string -> string
Sourcetype address = {
  1. display : string;
  2. mailbox : string;
}
Sourceval address : string -> address option
Sourceval addresses : string -> address list
Sourceval address_to_string : address -> string
Sourceval who : address -> string
Sourceval unquote : string -> string
Sourcetype date = {
  1. day : Civil.date;
  2. time : Clock.time_of_day;
  3. offset : int;
}
Sourceval date : string -> date option
Sourceval date_to_string : date -> string
Sourceval seconds : date -> float
Sourceval message_ids : string -> string list