package async_smtp

  1. Overview
  2. Docs
SMTP client and server

Install

Dune Dependency

Authors

Maintainers

Sources

async_smtp-v0.12.0.tar.gz
sha256=423634b9f83a6735d9722e26541d580c25cc780dbabf524fd8556a7a254ef027
md5=d5324bd84ec835d3f9a08a2e0920b115

Description

Published: 01 Mar 2019

README

README.org

~async_smtp~ is a library that implements SMTP (Simple Mail Transport Protocol), with
functionality for acting as a client or server. In combination with the ~email_message~
library, it is used as the core of Jane Street's internal MTA (Message Transfer Agent, aka
"email server") ~mailcore~.

The library provides a namespace overlay and is intended to be used by starting your
program with. 

#+BEGIN_SRC ocaml
open Async_smtp_extra
#+END_SRC

Users wishing to act as SMTP clients (i.e. to send an email) should look at the
~Simplemail~ module. E.g.:

#+BEGIN_SRC ocaml
  Simplemail.send
    ~to_:[Email_address.of_string_exn "example@example.com"]
    ~subject:"Example message"
    (Simplemail.Content.text "This is an example message.")
#+END_SRC

~async_smtp~ supports more advanced features including TLS and various modes of
SMTP authentication. See the ~sample~ directory for some examples.

If you need help, run into bugs, or have a feature request, you can contact the
developers at <app-mailcore-dev@janestreet.com>.

Dependencies (16)

  1. dune >= "1.5.1"
  2. cryptokit
  3. textutils >= "v0.12" & < "v0.13"
  4. sexp_macro >= "v0.12" & < "v0.13"
  5. resource_cache >= "v0.12" & < "v0.13"
  6. re2 >= "v0.12" & < "v0.13"
  7. ppx_jane >= "v0.12" & < "v0.13"
  8. email_message >= "v0.12" & < "v0.13"
  9. core_extended >= "v0.12" & < "v0.13"
  10. core >= "v0.12" & < "v0.13"
  11. async_ssl >= "v0.12" & < "v0.13"
  12. async_shell >= "v0.12" & < "v0.13"
  13. async_sendfile >= "v0.12" & < "v0.13"
  14. async_inotify >= "v0.12" & < "v0.13"
  15. async >= "v0.12" & < "v0.13"
  16. ocaml >= "4.07.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.