Last active
December 14, 2015 07:09
-
-
Save thomasbrueggemann/5048786 to your computer and use it in GitHub Desktop.
Für Marc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$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