|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Junior Member
Iscritto dal: Feb 2011
Messaggi: 13
|
[PHP] Problema mail
Salve! Ho fatto un form per inviare un email direttamente dal sito in php.
Funziona tutto solo che la mail non arriva ecco il codice: inviamail.php Codice PHP:
L'email l'ho censurata io qui, ma nel sito c'è quella vera. Qui c'è il form Codice HTML:
<table border="0" width="500" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><div align="center"><center><table border="0" width="100%"> <tr> <td align="center" valign="top" rowspan="2" width="90%" bgcolor="#F0F0F0"> <form name="modulo" method="post" action="inviamail.php"> <div align="center"> <table border="0"> <tr> <td colspan="2"><strong><font color="#FF0000" face="Verdana"><small>*</small></font><font color="#FF0000" face="Arial" size="1"> dato obbligatorio</font></strong></td> </tr> <tr> <td width="108" align="right"><strong><small><font face="Verdana"><strong><span class="Stile20">*</span></strong></font><strong><font face="Verdana" color="#000000"> Nome Chiesa o Missione </font></strong></small></strong></td> <td width="202"><input name="chiesa" type="text" id="chiesa" size="36" /></td> </tr> <tr> <td align="right"><small><font face="Verdana"><strong><span class="Stile20">*</span></strong></font><strong><font face="Verdana" color="#000000"> Nome Cognome:</font></strong></small></td> <td><input name="nome" type="text" size="36" /></td> </tr> <tr> <td align="right"><small><font face="Verdana"><strong><span class="Stile20">*</span></strong></font><strong><font face="Verdana" color="#000000"> E-Mail:</font></strong><font face="Verdana" color="#000000"></font></small></td> <td><input name="email" type="text" size="36" /></td> </tr> <tr> <td align="right"><small><font face="Verdana" color="#000000"><strong>Indirizzo:</strong></font></small></td> <td><input name="indirizzo" type="text" size="36" /></td> </tr> <tr> <td align="right"><strong><small><font face="Verdana"><strong><span class="Stile20">*</span></strong></font><font face="Verdana" color="#000000"><strong>Città:</strong></font></small></strong></td> <td><input name="citta" type="text" size="36" /></td> </tr> <tr> <td align="right"><strong><span class="Stile19"><small><font face="Verdana"><strong><span class="Stile20">*</span></strong></font></small>Oggetto:</span></strong></td> <td><input name="oggetto" type="text" size="36" /></td> </tr> </table> <table border="0"> <tr> <td width="326" align="center"><font color="#000000" face="Verdana"><small><br> <strong>Spazio per richiesta informazioni:</strong><br> <textarea name="note" cols="38" rows="3" wrap="VIRTUAL"> </textarea> </small></font></td> </tr> <tr> <td align="center"> <p><font color="#000000" face="Arial"> <input name="submit" type="submit" value="Invia" /> </font> </td> </tr> </table> Ultima modifica di matti96 : 08-03-2011 alle 11:26. |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Dec 2005
Messaggi: 558
|
Dipende dall'hosting: potrebbe non permettere l'invio di email.
|
|
|
|
|
|
#3 |
|
Junior Member
Iscritto dal: Feb 2011
Messaggi: 13
|
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Feb 2010
Messaggi: 466
|
Hai provato ad inviare una mail di prova e vedere se arriva ?
Codice PHP:
__________________
I robot hanno scintillanti fondoschiena metallici che non dovrebbero essere baciati. |
|
|
|
|
|
#5 |
|
Junior Member
Iscritto dal: Feb 2011
Messaggi: 13
|
Risolto, non c'era nessun errore. Solo che localhost non faceva mandare perché è in locale e quindi non prende la connessione a internet
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 14:05.




















