Created
March 29, 2018 19:29
-
-
Save Jul10l1r4/cc824ed219fa5a78e8cb84c813816866 to your computer and use it in GitHub Desktop.
envio de mails (só pra mim hehe)
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
<?php | |
$mail = $_POST['email']; | |
$email = filter_var($mail,FILTER_VALIDATE_EMAIL); | |
$name = $_POST['name']; | |
$txt = $_POST['message']; | |
// Segurança ao emails e tals | |
mail($mail,"$name | Novo LEAD! |❤️️",$txt) | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment