Skip to content

Instantly share code, notes, and snippets.

Created December 6, 2015 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c62c90985a0c0a903663 to your computer and use it in GitHub Desktop.
Save anonymous/c62c90985a0c0a903663 to your computer and use it in GitHub Desktop.
<?php
$to = "xxxxxxxxxxx";
$subject = "Test mail test";
$message = "Hello! This is a simple email message.";
$from = "test@metbergenviro.co.uk";
$headers = "From: Test" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment