Skip to content
Snippets Groups Projects
Commit 5e8bdadb authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

feat: add mail section in local dev

parent 0d4c0921
No related branches found
No related tags found
No related merge requests found
Pipeline #109230 passed
......@@ -75,6 +75,17 @@ const mjml2html = require('mjml-browser');
- [Mjml live editor](https://mjml.io/try-it-live/bohYnxKkCq-)
### Send mails in local development
Build the app in dev mode and run the desired service.
```sh
yarn build-dev
yarn run cozy-konnector-dev -m manifest.webapp ./build/services/monthlyReportNotification/ecolyo.js
```
Mailhog will intercept the mails and display them at http://cozy.tools:8025/
## Bounce token
A bounce token stored in the profile of each user is sent in email. It allows us to track if user clicks on links.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment