<?php
$to = "exampleID@example.com"; // i replace examples with my actual mail
$subject = "Run through Cron";
$message = "Hello! This is a simple email message.";
try
{
mail($to,$subject,$message);
}
catch (Exception)
{
echo 'Error sending';
die;
}
echo "Mail Sent";
?>