Send email: Difference between revisions

Content added Content deleted
m (→‎{{header|OCaml}}: providing a link to the lib)
Line 165: Line 165:


=={{header|OCaml}}==
=={{header|OCaml}}==
* using the library '''smtp-mail-0.1.3'''
* using the library [http://www.linux-nantes.org/~fmonnier/OCaml/smtp-mail/ smtp-mail-0.1.3]
<lang ocaml>let h = Smtp.connect "smtp.gmail.fr";;
<lang ocaml>let h = Smtp.connect "smtp.gmail.fr";;
Smtp.helo h "hostname";;
Smtp.helo h "hostname";;