Pb de formulaire par email qui ne fonctionne plus

Nouveau WRInaute
Bonjour,
Je viens de changer d'hébergeur qui m'avait créé initialement mon site.
J'ai changé dans Propriétés du formulaire Action : j'y mis l'adresse de mon fichier traitement contact.htm.txt et dans server j'ai mis mon smtp.nomdedomaine.com et dans sendto : mon adresse email. Mais ça ne fonctionne plus.
Aussi j'ai crée une page web de confirmation qui devrait s'afficher une fois que le visiteur clique sur Envoyer. Je l'ai mentionné dans Success des propriétés du formulaire en modifiant l'adresse de mon nouvel hébergeur, mais elle ne s'affiche jamais non plus.
Quelqu'un peut-il m'aider à réparer mon formulaire de réservation de chambres? Mon hébergeur dit que je n'ai pas besoin de convertir en php (tant mieux car je n'y connais rien).
Merci de votre aide,
 
WRInaute discret
Salut,

Pour vous aider il nous faudrait le code de votre formulaire et celui du traitement.
On verra ensuite le problème du nom de fichier( que viens faire ce .txt ?) celui du php et celui de votre hébergeur :-D
 
Nouveau WRInaute
Re,
Voilà le bout de tableau où se trouve le formulaire de résa :

<form action="http://www.ladame-blanche.com/fr/contact.htm" method="POST">
<input type="hidden" name="sendto" value="bruneteau.lorenzo@wanadoo.fr"><input type="hidden" name="server" value="smtp.ladame-blanche.com"><input type="hidden" name="subject" value="Demande de renseignement / R&eacute;servation"><input type="hidden" name="success" value="http://www.ladame-blanche.com/fr/maison-hotes-perigord-confirm.htm"><table border="0" cellspacing="1" cellpadding="3" class="texte">
<tr>
<td colspan="2" height="50">
<font color="#000066" style="font-size: 9pt">1 - Indiquez vos
coordonn&eacute;es</font></td>
</tr>
<tr>
<td nowrap="nowrap">
<p align="right"><span style="font-size: 8pt"><b>Nom : </b>
</span><b> <span style="font-size: 8pt">&nbsp;</span></b></td>
<td nowrap="nowrap">
<input type="text" name="Nom" size="25"></td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Prénom :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Prenom" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b> <span style="font-size: 8pt">Adresse :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Adresse" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Code postal :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Code_postal" size="10">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b> <span style="font-size: 8pt">Ville :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Ville" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Pays :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Pays" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Téléphone :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Telephone" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Email :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="required-email" size="25">
</td>
</tr>
<tr>
<td colspan="2" height="50">
<p><font color="#000066" style="font-size: 9pt">2 - Effectuez votre demande r&eacute;servation</font></p>
</td>
</tr>
<tr>
<td valign="top">
<div align="right"><b><span style="font-size: 8pt">S&eacute;lectionnez la(es) chambre(s) d'h&ocirc;tes
:</span></b></div>
</td>
<td nowrap="nowrap">
<span class="texte">
<input type="checkbox" name="Chambre(s)1" value="fleur d'eau">
<a href="javascript:;" onclick="MM_openBrWindow('../commun/fleur_d_eau.htm','','width=500,height=340')" >
<span style="font-size: 8pt">Fleur d'eau</span></a><br>
<input type="checkbox" name="Chambre(s)2" value="paradis d'azur">
<a href="javascript:;" onclick="MM_openBrWindow('../commun/paradis_d_azur.htm','','width=500,height=340')">
<span style="font-size: 8pt">Paradis
d'Azur</span></a><br>
<input type="checkbox" name="Chambre(s)3" value="petit nid douillet">
<a href="javascript:;" onclick="MM_openBrWindow('../commun/nid_douillet.htm','','width=500,height=340')">
<span style="font-size: 8pt">Au
Petit Nid Douillet</span></a><br>
<input type="checkbox" name="Chambre(s)" value="puits d'amour">
<a href="javascript:;" onclick="MM_openBrWindow('../commun/puits_d_amour.htm','','width=500,height=340')">
<span style="font-size: 8pt">Puits
d'Amour</span></a></span><br>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Date d'arriv&eacute;e :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Date_Arrivee" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Date de d&eacute;part :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Date_Depart" size="25">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Nombre d'adultes :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Nombre_adultes" size="3" maxlength="2">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Nombre d'enfants (plus de 2 ans) :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Nombre_enfants" size="3" maxlength="2">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Nombre de b&eacute;b&eacute;s (moins de
2 ans) :</span></b></div>
</td>
<td nowrap="nowrap">
<input type="text" name="Nombre_bebes" size="3" maxlength="2">
</td>
</tr>
<tr>
<td nowrap="nowrap">
<div align="right"><b><span style="font-size: 8pt">Message ou question :</span></b></div>
</td>
<td nowrap="nowrap">
<textarea name="Message" cols="25" rows="5"></textarea>
</td>
</tr>
<tr>
<td colspan="2">
<p><font color="#000066" style="font-size: 9pt">3 - Envoyez votre demande de r&eacute;servation</font></p>
<p align="center">
<input name="Reserver" type="submit" value="R&eacute;server">
</p>
<p align="center"><b>
<font color="#330000" style="font-size: 9pt"><i><u>Cliquez sur ce
bouton pour valider votre demande de r&eacute;servation</u></i></font></b></p>
</table>
<
</form>
</blockquote>
</td>
</tr>
</table>

Voilà les codes du fichier traitement contact.htm (l'extension txt a été créé par le créateur du site, je ne sais pas à quoi cela correspond!) :
From: [required-email]
To: bruneteau.lorenzo@wanadoo.fr
Subject: Demande de renseignement / Reservation

LISTE DES CHAMPS SAISIS:

Nom [Nom]
Prenom [Prenom]
Adresse [Adresse]
Code_postal [Code_postal]
Ville [Ville]
Pays [Pays]
Telephone [Telephone]
Fax [Fax]
email [required-email]
Chambre(s) [Chambre(s)]
Date_Arrivee [Date_Arrivee]
Date_Depart [Date_Depart]
Nombre_adultes [Nombre_adultes]
Nombre_enfants [Nombre_enfants]
Nombre_bebes [Nombre_bebes]
Message [Message]

Merci de ton aide ,
 
WRInaute discret
Bon ca confirme les 1eres impressions
Je pense qu'il y a une erreur de compréhension entre le concepteur et toi ou alors une grosse erreur avec le concepteur :-D, parce que là c'est impossible que ca marche.
Le code que tu a posté permet l'affichage de ton formulaire de contact mais il manque tout le "moteur" du formulaire qui devrait se situé dans le fichier de traitement contact.htm. Et ce fichier de traitement doit être en php et donc avoir l'extension .php

Tu dois voir cela avec la personne qui a fait le site parce que en l'état ca dépasse le simple coup de main ;-)
 
Nouveau WRInaute
Ah c'est pas gagné car mon ancien hébergeur a crée le site initialement. Il n'y a jamais de fichier php au départ.
Seulement quand je regarde les propriétés du formulaire qu'il avait rentré ça donnait ça :
http://cgi.perigord.net/cgi-bin/cgiemail/perigord-com/ladameblanche/fr ... ct.htm.txt. Et c'est là que mon nouvel hébergeur me dit de remplacer ce fichier par blabla.com/fr/contact.htm. Faut-il que je recrée un formulaire et un fichier traitement complètement?
 
Discussions similaires
Haut