From 1c24575fd0f18cb590244006d24ec3353dcb0e85 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 31 Mar 2022 19:34:57 +0200 Subject: [PATCH] add email var --- conf/.env | 7 +++++++ scripts/install | 1 + 2 files changed, 8 insertions(+) diff --git a/conf/.env b/conf/.env index 964eacb..f5ba6b9 100644 --- a/conf/.env +++ b/conf/.env @@ -33,3 +33,10 @@ EXECUTIONS_DATA_SAVE_ON_PROGRESS=true EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_MAX_AGE=168 + +N8N_EMAIL_MODE=smtp +N8N_SMTP_HOST=localhost +N8N_SMTP_PORT=25 +N8N_SMTP_USER=__ADMIN__ +N8N_SMTP_PASS= +N8N_SMTP_SENDER=__EMAIL__ diff --git a/scripts/install b/scripts/install index dd00681..e4ff429 100755 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD admin=$YNH_APP_ARG_ADMIN timezone="$(cat /etc/timezone)" +email=$(ynh_user_get_info --username=$admin --key=mail) app=$YNH_APP_INSTANCE_NAME