mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
send email using php wrapper
This commit is contained in:
parent
8f03ce5e43
commit
de68a6bc8f
9 changed files with 9 additions and 46 deletions
|
@ -34,11 +34,7 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
|
|||
if [ $? -ne 0 ]; then
|
||||
/etc/init.d/$PROXY_SYSTEM restart >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
if [ -e "$VESTA/web/inc/mail-wrapper.php" ]; then
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
else
|
||||
send_mail=$(which mail)
|
||||
fi
|
||||
send_mail="$VESTA/web/inc/mail-wrapper.php"
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
email=$(echo "$email" | cut -f 2 -d "'")
|
||||
tmpfile=$(mktemp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue