package letters
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e514f9edf4018dbeb743155dd0399feba8920fac3c190c5cda8ec0fb52103c08
sha512=a479b992d76be6d0883562a6106f6aee926a64faad0930e89f9a0f800b6eb372a69180c5bddc6e035120fad183d7b247c37ab339afe44b3180db13d4d3c8560c
Description
Simple to use SMTP client implementation for OCaml
Added to opam-repository:
README
✉ Letters ·

Letters is a library for creating and sending emails over SMTP using Lwt.
Setup
opam switch create . ocaml-base-compiler.4.08.1
opam install --deps-only -y . --with-testBuild
dune buildRun Tests
First create ethereal.email account and store account details
curl -d '{ "requestor": "letters", "version": "0.1.0" }' "https://api.nodemailer.com/user" -X POST -H "Content-Type: application/json" > ethereal_account.jsonCurrently using ethereal.email service requires non-released version of colombe and you need to check out the project, commit edf757c58fce58c170c63e8a92d3bc81fe4d32ff contains the needed fix. Then the version with the fix needs to be pinned in the build env:
cd /path/to/colombe
opam switch /path/to/letters
# Follow instructions to evaluate the environment
git switch --detach edf757c58fce58c170c63e8a92d3bc81fe4d32ff
opam pin .
# Finally, return back to letters project
cd /path/to/lettersThen execute the tests
dune testAnd finally review that the email is correctly generated in the service:
- login to https://ethereal.email/login using credentials from the
ethereal_account.json - check the content of messages: https://ethereal.email/messages
Credits
This project is build on colombe and mrmime libraries and use facteur as starting point.
License
Copyright (c) 2020 Miko Nieminen
Distributed under the MIT License.
Dependencies (12)
Dev Dependencies (3)
-
yojson
>= "1.7.0" & with-test -
alcotest-lwt
>= "1.1.0" & with-test -
alcotest
>= "1.1.0" & with-test
Optional Dependencies
None
Used by (1)
-
sihl
< "0.1.0"
Conflicts
None
Build status
Results of building letters with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.4.0 | n/a | good | good | good | good |
| 0.3.3 | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure