smtp

SMTP library with Unix and Lwt backends
IN THIS PACKAGE
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