Module Smail.SMTP (.ml)

module SMTP: sig .. end
Sending mail through a SMTP server
Author(s): Maxence Guesdon
Version: 0.3
Mail.SMTP

type mail = {
   mail_to :string list;
   mail_cc :string list;
   mail_from :string;
   mail_subject :string;
   mail_body :string;
}
val sendmail : string -> int -> mail -> string
sendmail host port mail send the given mail through the given SMTP server.
Returns the message id built to send the message.