Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
|
post [2016/09/23 23:14] gianluca |
post [2016/09/24 00:00] (versione attuale) gianluca |
||
|---|---|---|---|
| Linea 4: | Linea 4: | ||
| $email_subject = "Prova"; | $email_subject = "Prova"; | ||
| $first_name = $_POST['first_name']; | $first_name = $_POST['first_name']; | ||
| - | $email_message .= "First Name: ".$first_name."\n"; | + | $email_message .= "First Name: ".$first_name."\r\n"; |
| - | $headers = 'From: '.'gianfrus@yahoo.it'."\r\n".'Reply-To: '.'gianfrus@yahoo.it'."\r\n".'X-Mailer: PHP/'.phpversion(); | + | $headers = 'From: '.'postmaster@parcoattigliano.it'."\r\n".'Reply-To: '.'postmaster@parcoattigliano.it'."\r\n".'X-Mailer: PHP/'.phpversion(); |
| - | mail($email_to, $email_subject, $email_message, $headers); | + | mail($email_to, $email_subject, $email_message, ''); |
| - | echo 'Fist name: '.$first_name; | + | echo 'First name: '.$first_name; |
| } | } | ||
| </php> | </php> | ||