Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include($_SERVER['DOCUMENT_ROOT']."/site/assets/php/contato.php");
- $nome = $_GET['nome'];
- $email = $_GET['email'];
- $canal = $_GET['canal'];
- $subject = 'Receber YouTuber';
- $message = $email. " e " . $canal;
- $from = "From: " . $nome;
- mail($to,$subject,$message,$from);
- echo "Mensagem enviada com sucesso!";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment