Module Mail


module Mail: sig .. end
Mailing functions.

Sending mail through a SMTP server
Author(s): Maxence Guesdon
Version: 0.1



Mailing functions.

Sending mail through a SMTP server

type mail = {
   mail_to : string list;
   mail_cc : string list;
   mail_from : string;
   mail_subject : string;
   mail_body : string;
}

val sendmail : string -> int -> mail -> unit
sendmail host port mail send the given mail through the given SMTP server.