package async_smtp

  1. Overview
  2. Docs
SMTP client and server

Install

Dune Dependency

Authors

Maintainers

Sources

async_smtp-v0.16.0.tar.gz
sha256=46d57c39e83b57301cee7f8d5a0a3b3b29b691734f06839ea30efd1f3090b8b9

Description

Published: 14 Jun 2023

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
#+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 (18)

  1. dune >= "2.0.0"
  2. cryptokit >= "1.16" & < "1.17"
  3. base64 >= "3.4.0"
  4. textutils >= "v0.16" & < "v0.17"
  5. sexp_macro >= "v0.16" & < "v0.17"
  6. resource_cache >= "v0.16" & < "v0.17"
  7. re2 >= "v0.16" & < "v0.17"
  8. ppx_jane >= "v0.16" & < "v0.17"
  9. email_message >= "v0.16" & < "v0.17"
  10. core_unix >= "v0.16" & < "v0.17"
  11. core >= "v0.16" & < "v0.17"
  12. async_ssl >= "v0.16" & < "v0.17"
  13. async_shell >= "v0.16" & < "v0.17"
  14. async_sendfile >= "v0.16" & < "v0.17"
  15. async_inotify >= "v0.16" & < "v0.17"
  16. async_extra >= "v0.16" & < "v0.17"
  17. async >= "v0.16" & < "v0.17"
  18. ocaml >= "4.14.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.