-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: new email system * feat: add General Mail route * feat: back to street legal * feat: add sendTemplate * fix: it's better with .fr * fix: update email template topics * fix: add return and fix preview undefined * fix: change minor mail target * fix: lint * fix: lint2 * test: disable mail tests * test: disable other mail test * feat: mail smtp * Update .env.example * Update notPaid.ts * Update env.ts --------- Co-authored-by: Noé Landré <[email protected]> Co-authored-by: Arthur Dodin <[email protected]> Co-authored-by: Antoine D <[email protected]>
- Loading branch information
1 parent
a1661e5
commit 8205977
Showing
3 changed files
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,10 +79,6 @@ const env = { | |
name: loadEnv('EMAIL_SENDER_NAME') || 'UTT Arena', | ||
address: loadEnv('EMAIL_SENDER_ADDRESS') || '[email protected]', | ||
}, | ||
auth: { | ||
user: loadEnv('EMAIL_AUTH_USER'), | ||
password: loadEnv('EMAIL_AUTH_PASSWORD'), | ||
}, | ||
rejectUnauthorized: loadEnv('EMAIL_REJECT_UNAUTHORIZED') !== 'false', | ||
maxMailsPerBatch: loadIntEnv('MAX_MAIL_PER_BATCH') || 100, | ||
partners: loadEnv('PARTNER_MAILS')?.split(',') || [], | ||
|