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 = "test@test.de";
$from = "test@test.de";
$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