mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
send email using php wrapper
This commit is contained in:
parent
f70ba768a3
commit
8f03ce5e43
8 changed files with 41 additions and 8 deletions
|
@ -62,7 +62,12 @@ is_backup_available
|
|||
#----------------------------------------------------------#
|
||||
|
||||
# Define email wrapper
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
if [ -e "$VESTA/web/inc/mail-wrapper.php" ]; then
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
else
|
||||
send_mail=$(which mail)
|
||||
fi
|
||||
|
||||
|
||||
# Check user
|
||||
check_user=$(is_object_valid 'user' 'USER' "$user")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue