J'arrive pas à fair envoyer mon formulaire!

Résolu
lauriane -  
kij_82 Messages postés 4089 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,
J'ai créer mon formulaire mais je n'arrive pas a envoyer les infomations sur mon adresse e-mail.
Comment fait-on?
Merci d'avance!!!



Pour vous aider voici le code: (je travail dans le programme "Nvu")

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>formulaire demande de catalogue</title>
</head>
<body style="width: 629px;">
<span style="font-family: Arial; font-weight: bold;">
Veuillez saisir vos coordonnées </span><br>
<br>
<form method="post" enctype="text/plain"> <font
size="2"><input name="genre" value="Madame"
type="radio"><span style="font-family: Arial;">Madame
</span><input style="font-family: Arial;" name="genre"
value="Monsieur" type="radio"><span
style="font-family: Arial;">Monsieur <br>
</span><br style="font-family: Arial;">
</font>
<table style="text-align: left; width: 443px; height: 224px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Nom :</span></font></td>
<td><font size="2"><input size="50"
style="font-family: Arial;" name="nom"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Prénom :</span><span
style="font-family: Arial;"></span></font></td>
<td><font size="2"><input size="50"
style="font-family: Arial;" name="prénom"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Société :</span></font></td>
<td><font size="2"><input
style="font-family: Arial;" name="société" size="50"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Rue et n° :</span></font></td>
<td><font size="2"><input
style="font-family: Arial;" name="adresse" size="50"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Code Postal : </span></font></td>
<td><font size="2"><input
style="font-family: Arial;" name="cp" size="50"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">Ville :</span></font></td>
<td><font size="2"><input
style="font-family: Arial;" name="ville" size="50"></font></td>
</tr>
<tr>
<td><font size="2"><span
style="font-family: Arial;">No
téléphone :</span><span
style="font-family: Arial;"></span></font></td>
<td><font size="2"><input
style="font-family: Arial;" name="no tel" size="50"></font></td>
</tr>
</tbody>
</table>
<font size="2"> <span style="font-family: Arial;"><br>
<input style="font-weight: bold;" name="cat général 07-08"
value="cat général 07-08" type="checkbox"><span
style="font-weight: bold;">Catalogue
général
2007-2008     </span><input
style="font-weight: bold;" name="cat trainings soldés"
value="cat trainings soldés" type="checkbox"><span
style="font-weight: bold;">Catalogue
trainings soldés</span></span></font><font
size="2"><span style="font-family: Arial;"><span
style="font-weight: bold;"><br>
</span><span style="font-weight: bold;"></span><br
style="font-family: Arial;">
</span><br>
<input value="Envoyer" destinataire="lauriane@xxxxxxx.com"
type="submit">
    <input value="Effacer" type="reset"></font></form>
</body>
</html>

1 réponse

kij_82 Messages postés 4089 Date d'inscription   Statut Contributeur Dernière intervention   857
 
Bonjour,

Beaucoup d'erreur dans ton scripts, je te conseille donc de lire les deux pages qui suivent :
Comment réaliser un formulaire et receuillir les données remplie par l'utilisateur : http://www.allhtml.com/articles/detail/687
Comment envoyer un mail en PHP : https://www.vulgarisation-informatique.com/mail.php

Avec ces deux pages tu devrais réussir à envoyer les formulaires sur ton adresse mail.
Bon courage.
0