- phpversion: documentation ( source)
- mail: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(E_ALL);
$to = 'danceclubunit@hotmail.com';
$subject = 'Subject';
$message = 'This is a test';
$headers = 'From: webmaster@yourdot.com' . "\r\n" .
'Reply-To: webmaster@yourdot.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>