Created
October 29, 2011 17:18
-
-
Save aborruso/1324804 to your computer and use it in GitHub Desktop.
4ga-php
This file contains 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 | |
$nome = $_POST['nome']; | |
$fromwhy = $_POST['email']; | |
$messaggio = $_POST['messaggio']; | |
//Imposto le impostazioni di invio mail | |
/*Destinatario*/ | |
$a = "gabriele@gabrieletra.it"; | |
/*Oggetto email*/ | |
$oggetto = "Nuovo Messaggio dal blog"; | |
/*Messaggio email*/ | |
$messaggio = "Ciao Gabriele, ti hanno mandato un messaggio: $messaggio . Il messaggio ti è stato spedito da $fromwhy con la seguente email: $email "; | |
mail($a,$oggetto,$messaggio); | |
echo "Messaggio inviato, ti risponderò al più presto" | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment