Sending an email is easy using PHP. Create a new file, copy and paste this code, and give it a spin!

 
<?php
 
// Prepare the data
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 
	'From: webmaster@example.com'."\r\n".
	'Reply-To: webmaster@example.com'."\r\n".
	'X-Mailer: PHP/'.phpversion();
 
// Send the email
mail($to, $subject, $message, $headers);
 
?>