[new release] colombe, sendmail, sendmail-lwt, sendmail-mirage and sendmail-miou-unix (0.10.0) #26746
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SMTP protocol in OCaml
CHANGES:
Be able to compose errors from sendmail packages (@dinosaure, Update the Sendmail_with_starttls error type to be composable with Sendmail.error mirage/colombe#76)
Add the new package
sendmail-mirage
(@dinosaure, Add sendmail-mirage mirage/colombe#77)breaking-change Improve the
sendmail
library.The sendmail library is able to send an email with or without STARTTLS. If
the user gives an authentication method (with a password), we require STARTTLS
in anyway. Otherwise, we return the
Encryption_required
error. By this way,the
sendmail
package does not leak such information.We also separate two kind of use about
sendmail
:The second is the most basic (and probably what you want). The first is useful
when you want to pass through an authority (such as gmail.com or your own
mail exchange server) to send an email to a destination.