You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.networking_protocols
Smtp
val reply_line : string -> (int * bool * string) option
val reply : int -> string list -> string list
type command =
| Helo of string
| Ehlo of string
| Mail_from of string
| Rcpt_to of string
| Data
| Rset
| Noop
| Quit
| Unknown of string
val parse_command : string -> command
val command_to_string : command -> string
type envelope = {
sender : string;
recipients : string list;
text : string;
}
val envelope : sender:string -> Mail.t -> envelope
val stuff : string -> string list
val unstuff : string list -> string
type client
type outcome =
| Sent of int * string list
| Refused of string
val client : hello:string -> ?auth:(string * string) -> envelope list -> client
val plain : user:string -> password:string -> string
val step : client -> string -> client * string list
val finished : client -> (outcome list, string) result option