Thanks for you answer descalzo.
#!/usr/bin/php
<?php
$time=getdate(date("U"));
$to = "*******@*****************.***";
$subject = "Email Tester";
$message = "Mail Sent at: $time[hours]:$time[minutes] and $time[seconds] seconds on $time[weekday], $time[month] $time[mday], $time[year]";
$from =...