Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- if($_POST['send']==1)
- {
- $fr="From: $adminemail";
- $content_email=$_POST['to']." / From: ".$_POST['from_name'].", ".$_POST['from_email'].". Menssagem: ".$_POST['message'];
- if(@mail($adminemail, 'Contact us message', $content_email, $fr))
- {
- echo "<p><font color=#FFF>Agradecemos seu contato. Enviaremos uma resposta em breve</font></p>";
- exit;
- }else{
- echo "<p>Obrigado!</p>";exit;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement