-
In the
Envelope_status
module, rename theNo_recipients
constructor toRejected_all_recipients
-
Add the following callbacks to
Spool.create
:presend
: Called immediately prior to sending a message. This can be used to delay a message (e.g. due to rate limiting)on_error
: Called after receiving an SMTP response. This can be used to determine how to handle the error code.
-
Expose an optional credentials argument in the SMTP client connection pool
-
Mail_fingerprint.of_email
now accepts an additionalcompute_md5
parameter, allowing users to choose whether to compute the MD5 hash while creating a fingerprint from an email -
Add
Simplemail.For_testing
module can be used in testing code to override the default server that mail is sent to -
Envelope.of_email
andEnvelope_info.of_email
now accept an additionalignore_unparseable_recipient_header
parameter that causes the function to ignore unparseable headers rather than returning an error
- Moved the
Cache
module out to its own library:resource_cache
. (available at https://github.com/janestreet/resource_cache )
- Use the ~log argument passed to
Client_simple.start
rather thanLog.Global.log
in one spot.
-
Allow an smtp_client to connect to a local unix socket
-
Better logging
-
Switched to PPX.
-
Follow Core & Async evolution.
- Improve the async_smtp client interface so that it is suitable as a replacement for Core_extended.Std.Sendmail.
Moved from janestreet-alpha