Skip to content

Instantly share code, notes, and snippets.

@ryandoss
Created December 12, 2014 20:25
Show Gist options
  • Save ryandoss/6c2d3dbe6064e3a35dad to your computer and use it in GitHub Desktop.
Save ryandoss/6c2d3dbe6064e3a35dad to your computer and use it in GitHub Desktop.
$to = "[email protected]";
$subject = "Battery Outfitters :: LifeCycle Program";
$message = "Message";
$headers = array();
$headers[] = "MIME-Version: 1.0";
$headers[] = "From: Battery Outfitters <[email protected]>";
$headers[] = "Content-type: text/html; charset=iso-8859-1";
$headers[] = "Bcc: JJ Chong <[email protected]>";
mail($to, $subject, message, implode("\r\n", $headers));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment