From a031828f6760c66dce4f522811c3793980bf10b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:14:06 +0100 Subject: [PATCH] Add mail smtp --- conf/.env | 8 ++++---- manifest.toml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/.env b/conf/.env index 1bc9b35..9f586c4 100644 --- a/conf/.env +++ b/conf/.env @@ -50,14 +50,14 @@ DB_TEST_PASSWORD=secret DB_USE_UTF8MB4=true # Mail credentials used to send emails from the application. -MAIL_DRIVER=sendmail +MAIL_DRIVER=smtp MAIL_HOST=127.0.0.1 MAIL_PORT=25 -MAIL_USERNAME= -MAIL_PASSWORD= +MAIL_USERNAME=__APP__ +MAIL_PASSWORD=__MAIL_PWD__ MAIL_ENCRYPTION= # Outgoing emails will be sent with these identity -MAIL_FROM_ADDRESS=monica@__DOMAIN__ +MAIL_FROM_ADDRESS=__APP__@__DOMAIN__ MAIL_FROM_NAME="Monica" # New registration notification sent to this email APP_EMAIL_NEW_USERS_NOTIFICATION=__EMAIL__ diff --git a/manifest.toml b/manifest.toml index 192eb9e..638225f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -59,6 +59,7 @@ ram.runtime = "50M" autoupdate.strategy = "latest_github_tag" [resources.system_user] + allow_email = true [resources.install_dir]