Skip to content

Instantly share code, notes, and snippets.

@diogok
Created December 29, 2009 15:24
Show Gist options
  • Save diogok/265366 to your computer and use it in GitHub Desktop.
Save diogok/265366 to your computer and use it in GitHub Desktop.
<?php
$mail = "[email protected]" ;
$header = "From: [email protected]\n" ;
$msg = "Mensagem" ;
$subject = "Assunto" ;
mail($mail,$subject,$msg,$header);
header("Location: thankyou.html");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment