diff --git a/.devilbox/www/config.php b/.devilbox/www/config.php index a2ca578c..e3a197b5 100644 --- a/.devilbox/www/config.php +++ b/.devilbox/www/config.php @@ -13,8 +13,8 @@ error_reporting(-1); putenv('RES_OPTIONS=retrans:1 retry:1 timeout:1 attempts:1'); -$DEVILBOX_VERSION = 'v1.10.3'; -$DEVILBOX_DATE = '2022-02-04'; +$DEVILBOX_VERSION = 'v1.10.4'; +$DEVILBOX_DATE = '2022-02-15'; $DEVILBOX_API_PAGE = 'devilbox-api/status.json'; // diff --git a/.devilbox/www/htdocs/mail.php b/.devilbox/www/htdocs/mail.php index 15817e2e..5de1dc6d 100644 --- a/.devilbox/www/htdocs/mail.php +++ b/.devilbox/www/htdocs/mail.php @@ -5,10 +5,10 @@ // // $_POST submit for sending a test email // -if (isset($_GET['email']) && isset($_GET['subject']) && isset($_GET['message'])) { - $mail = $_GET['email']; - $subj = $_GET['subject']; - $mess = $_GET['message']; +if (isset($_POST['email']) && isset($_POST['subject']) && isset($_POST['message'])) { + $mail = $_POST['email']; + $subj = $_POST['subject']; + $mess = $_POST['message']; if (! mail($mail, $subj, $mess)) { loadClass('Logger')->error('Could not send mail to: '.$mail.' | subject: '.$subj); } @@ -119,7 +119,7 @@ $messages = $MyMbox->get($sortOrderArr);