Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
self_data_technical_doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
self_data_technical_doc
Commits
5e8bdadb
Commit
5e8bdadb
authored
5 months ago
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
feat: add mail section in local dev
parent
0d4c0921
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#109230
passed
5 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ecolyo/Technical/mail.md
+11
-0
11 additions, 0 deletions
docs/ecolyo/Technical/mail.md
with
11 additions
and
0 deletions
docs/ecolyo/Technical/mail.md
+
11
−
0
View file @
5e8bdadb
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment