Skip to content

Instantly share code, notes, and snippets.

@thomasbrueggemann
Last active December 14, 2015 07:09
Show Gist options
  • Save thomasbrueggemann/5048786 to your computer and use it in GitHub Desktop.
Save thomasbrueggemann/5048786 to your computer and use it in GitHub Desktop.
Für Marc.
<?
$to = "[email protected]";
$from = "[email protected]";
$subject = "Hallo Test";
$message = "<html>...</html>";
// to send the HTML mail, set the Content-type header
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
mail($to, $subject, $message, $headers);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment