diff options
author | szaimen <szaimen@e.mail.de> | 2020-10-03 11:28:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 11:28:39 +0300 |
commit | 1d38a1ab26197e9bdf6a0b7a68230c7a84d01f2d (patch) | |
tree | 874d57e758d659227ca3d7c375f9a46833358bf4 | |
parent | c3fccc58fd1d6e23b2d2f8d251e2058085e361f6 (diff) |
improve the formatting
-rw-r--r-- | addons/smtp-mail.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/smtp-mail.sh b/addons/smtp-mail.sh index 9cac0575..d4190efb 100644 --- a/addons/smtp-mail.sh +++ b/addons/smtp-mail.sh @@ -224,7 +224,9 @@ set sendmail="/usr/bin/msmtp -t" DEFINE_MAIL # Test sending of mails -if ! echo -e "Congratulations! Since this email reached you, it seems like everything is working properly. :) To change the settings please check /etc/msmtp on your server, or simply just run the setup script again." | mail -s "Test email from your NcVM" "$RECIPIENT" &>/dev/null +if ! echo -e "Congratulations! Since this email reached you, it seems like everything is working properly. :) +To change the settings please check /etc/msmtp on your server, or simply just run the setup script again." \ +| mail -s "Test email from your NcVM" "$RECIPIENT" &>/dev/null then # Fail message msg_box "It seems like something has failed. |