package smtp

  1. Overview
  2. Docs
SMTP library with Unix and Lwt backends

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.tar.gz
sha256=ff913a65dfdda612d2e51a31a76afae6e7353b717e172c65731000c8db4d8286
md5=181b1ec742b598ad54b1622c5a7d3b6d

doc/smtp.unix/Smtp/module-type-IO/index.html

Module type Smtp.IO

type 'a t

Monadic interface

val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val fail : exn -> 'a t
type ic

Channel like communication

type oc
val open_connection : host:string -> service:string -> (ic * oc) t
val shutdown_connection : ic -> unit t
val read_line : ic -> string t
val print_line : oc -> string -> unit t
OCaml

Innovation. Community. Security.