Skip to content

Instantly share code, notes, and snippets.

@gaboratorium
Created April 19, 2016 16:21
Show Gist options
  • Save gaboratorium/be4b951d8d16648454bdb415fafc1e82 to your computer and use it in GitHub Desktop.
Save gaboratorium/be4b951d8d16648454bdb415fafc1e82 to your computer and use it in GitHub Desktop.
Sending an e-mail with PHP
<?php
$headers =
'From: Expozers Team <[email protected]>' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'MIME-Version: 1.0' . "\r\n" .
'Content-Type: text/html; charset=ISO-8859-1' . "\r\n";
mail($mail,"Invite",$msg, $headers);
header('Location:?page=admin');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment