<html> <FORM NAME= "accueilfr" ACTION="1080.html"> <?php $a = $_POST["email"]; $sujet = 'Confirmation d inscription et recu de la Newsletter'; //$corps = 'Bonjour' . ' ' . $_POST["patronym"] . ' ' . $_POST["nom"] . ' ' . $_POST["prenom"] . ',' . ' ' . 'votre inscription a été validé avec succès.' . ' ' . 'Votre commande :' . ' ' . $_POST["produit"] . ' ' . 'Visitez http://www.tetco.fr'; $corps = "<html> Bonjour $_POST[patronym] </html>"; $from = "From: nir@tetco.fr\nContent-Type: text/html; charset="iso-8859-1"\n"; echo (" $from "); echo (" Envoyer à : $a "); echo (" Sujet : $sujet "); echo (" Message : $corps "); echo (" Le Formulaire a bien été enregistré. Veuillez cliquer sur le bouton de validation pour vous diriger vers la page d'accueil. "); mail($a, $sujet, $corps, $from ); ?> </FORM> </html>