From d2d694caedbc400a00c382857531d7a8c40d94a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Oct 2023 00:13:55 +0200 Subject: [PATCH] fix --- conf/config.php | 6 +++--- manifest.toml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/config.php b/conf/config.php index 1060ce3..f38a763 100644 --- a/conf/config.php +++ b/conf/config.php @@ -42,7 +42,7 @@ define('FILES_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'files'); define('MAIL_CONFIGURATION', true); // E-mail address used for the "From" header (notifications) -define('MAIL_FROM', '__EMAIL__'); +define('MAIL_FROM', '__APP__@__DOMAIN__'); // E-mail address used for the "Bcc" header to send a copy of all notifications define('MAIL_BCC', ''); @@ -53,8 +53,8 @@ define('MAIL_TRANSPORT', 'mail'); // SMTP configuration to use when the "smtp" transport is chosen define('MAIL_SMTP_HOSTNAME', 'localhost'); define('MAIL_SMTP_PORT', 25); -define('MAIL_SMTP_USERNAME', ''); -define('MAIL_SMTP_PASSWORD', ''); +define('MAIL_SMTP_USERNAME', '__APP__'); +define('MAIL_SMTP_PASSWORD', '__MAIL_PWD__'); define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls" // Sendmail command to use when the transport is "sendmail" diff --git a/manifest.toml b/manifest.toml index d44c71d..c2a3df8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,8 @@ ram.runtime = "50M" autoupdate.strategy = "latest_github_tag" [resources.system_user] - + allow_email = true + [resources.install_dir] [resources.permissions]