From 4015be250091a0fab7672c4d53f94eb29952f5d1 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Fri, 10 Jul 2015 12:43:40 +0300 Subject: [PATCH] fix encrypted mails --- action.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.sh b/action.sh index 410b79c..ba66afb 100755 --- a/action.sh +++ b/action.sh @@ -178,7 +178,7 @@ if [ "$ACTION" == "adduser" ]; then if [ $? == 0 ]; then # Send infomail - mailsend "New Email account created" \ + $MAILTYPE "New Email account created" \ "A new Email account has been created." \ "User: $USER | Password: $PASS" @@ -210,7 +210,7 @@ if [ "$ACTION" == "changepw" ]; then if [ $? == 0 ]; then # Send infomail - mailsend "Email password changed" \ + $MAILTYPE "Email password changed" \ "An Email account password has been changed." \ "User: $USER | New Password: $PASS" @@ -309,7 +309,7 @@ if [ "$ACTION" == "deluser" ]; then if [ $? == 0 ]; then # Send infomail - mailsend "Email account deleted" \ + $MAILTYPE "Email account deleted" \ "An Email account has been deleted." \ "User: $USER"