problemi Mail Form

  • Creatore Discussione Creatore Discussione ayla80
  • Data di inizio Data di inizio

ayla80

Nuovo Utente
29 Mar 2006
1
0
0
Ciao a tutti,
sto lavorando su un template dotato di mail form, e ho riscontrato un problema:
il form non invia alcuna mail dopo la compilazione dei campi.
Premetto che non conosco il php, ma forse qualche esperto tra di voi può aiutarmi a capire se il problema è risolvibile aggiungendo una stringa di codice, oppure no.
Incollo di seguito il codice del form:

<form><table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="11" valign="top"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="34" valign="top"><table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><img src="images/spacer.gif" width="1" height="1"></td>
<td width="101" class="text">Your Name:</td>
<td width="147" valign="top"><input name="textfield2" type="text" class="form_1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="34" valign="top"><table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><img src="images/spacer.gif" width="1" height="1"></td>
<td width="101" class="text">Your Company:</td>
<td width="147" valign="top"><input name="textfield22" type="text" class="form_1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="34" valign="top"><table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><img src="images/spacer.gif" width="1" height="1"></td>
<td width="101" class="text">Your Telephone:</td>
<td width="147" valign="top"><input name="textfield23" type="text" class="form_1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="34" valign="top"><table width="260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><img src="images/spacer.gif" width="1" height="1"></td>
<td width="101" class="text">Your Telephone:</td>
<td width="147" valign="top"><input name="textfield24" type="text" class="form_1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="15" valign="top" class="text" style="padding-left:12px ">Comments:</td>
</tr>
<tr>
<td height="111" valign="top" style="padding-left:12px "><textarea name="textarea" class="form_2"></textarea></td>
</tr>
<tr>
<td align="right" valign="top" style="padding-right:16px "><input type="image" src="images/submit.gif"></td>
</tr>
</table><!-- --></form>

Grazie per i preziosi consigli!
Ayla
 
Per inviare una mail tramite form in PHP ci vuole un method e un'action, dove method è il metodo di invio (ad esempio Post) e action e il riferimento al codice che dovrà elaborare le informazioni.
Queto semplice tutorial ti potrà aiutare:https://www.mrw.it/tutorial/php/tutorial46.htm
:byebye:
 

Discussioni simili