fix: fix Mail Test error
This commit is contained in:
@@ -11,6 +11,9 @@ fi
|
||||
|
||||
# mailx test
|
||||
if [[ "$1" == "mail" ]]; then
|
||||
export_env_file
|
||||
init_env_mail
|
||||
|
||||
MAIL_SMTP_ENABLE="TRUE"
|
||||
MAIL_DEBUG="TRUE"
|
||||
|
||||
@@ -18,8 +21,6 @@ if [[ "$1" == "mail" ]]; then
|
||||
MAIL_TO="$2"
|
||||
fi
|
||||
|
||||
init_env
|
||||
|
||||
send_mail "vaultwarden Backup Test" "Your SMTP looks configured correctly."
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user