Skip to content

Instantly share code, notes, and snippets.

@John2496
Created July 14, 2010 19:23
Show Gist options
  • Save John2496/475903 to your computer and use it in GitHub Desktop.
Save John2496/475903 to your computer and use it in GitHub Desktop.
<?php
$toEmail = $_REQUEST['friendsEmail'];
$message = $_REQUEST['message'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($toEmail, 'Check out White Collar – Counterfeit Crackdown', $message, $headers);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment