1. Overview
  2. Docs
SMTP protocol in OCaml






v0.6.0 2022-01-03 Paris (France)

  • Better implementation of STARTTLS (@dinosaure, #50)

  • Properly quit if the server does not implement STARTTLS (@dinosaure, #51)

  • Add let+ operator which manipulate result type (@dinosaure, #52)

  • Upgrade fmt.0.8.9 (@dinosaure, #53)

  • Be able to pre-allocate resources when we want to send an email (@dinosaure, #54)

v0.5.0 2021-08-30 Paris (France)

  • Use Cstruct.length instead of Cstruct.len (@dinosaure, #45)

  • Let the user to emit the end of the stream (spotted by @jsthomas, @dinosaure, review @mikonieminen, #47)

v0.4.2 2021-07-26 Paris (France)

  • Add Path.of_string_exn (@dinosaure, #40)

  • Be resilient about 334 argument and add regression test (@dinosaure, @jsthomas, #41)

v0.4.1 2021-04-27 Paris (France)

  • Upgrade to tls.0.13.0 (#34, @dinosaure)

v0.4.0 2020-11-29 Paris (France)

  • Be resilient when we parse a replies (mirage/colombe#27, @dinosaure, review by @mikonieminen)

  • breaking changes
    Rename sendmail.tls to sendmail.starttls
    Rename Sendmail_with_tls to Sendmail_with_starttls
    (mirage/colombe#28, @dinosaure, issue mirage/colombe#25)

  • Handle dot special character when we transmit the mail
    (mirage/colombe#30, @dinosaure, review by @mikonieminen, @jerben and @Julow, issue mirage/colombe#29)

    sendmail already expects a stream which emits line per line the mail
    but it sanitizes now the dot character according the SMTP protocol. If
    the user uses mrmime to generate the mail, he should upgrade it to
    mrmime.0.3.2. Otherwise, it must respect this assumption.

v0.3.0 2020-05-17 Paris (France)

  • Fix opam file (#22, @kit-ty-kate)

  • Better documentation (#23 & #24, @dinosaure)

  • Update to angstrom.0.14.0 (#24, @dinosaure)

v0.2.0 2020-03-14 Paris (France)

  • Fix warnings from OCaml 4.08.1

  • Monadic view about implementation of the state machine

  • Handle let* syntax and add dependency with future_syntax

  • Use at least dune.1.8.0

  • Use emile instead mrmime about email address

  • Support 8BITMIME

  • Add some logs

  • Rename Parser to Decoder

  • Add

  • Externalize some parsers/decoders

  • Add Received encoder/decoder

  • Functorize STARTTLS implementation

  • Close properly a TLS connection

  • Relax SMTP parser about End-Of-Line character (be compatible with gnutls-cli)

  • Add tests

  • Clean the distribution

v0.1.0 2019-07-30 Бар (Црна Гора / Crna Gora)

  • First release