Ver Mensaje Individual
  #7 (permalink)  
Antiguo 20/05/2009, 09:10
arnair
 
Fecha de Ingreso: marzo-2009
Mensajes: 31
Antigüedad: 16 años
Puntos: 1
Respuesta: problema formulario perl

me he bajado el formmail y he modificado:
@referers = ('','217.76.150.30');
$mailprog = '/usr/lib/sendmail'
y lo he subido a la carpeta cgi-bin como ascii(al cgi-bin y subdirectorios y ficheros les he puesto 777 todos los permisos)

y el formulario es este:(lo he subido a la capeta html)

(el infom se redirecciona a mi gmail)

<HTML>
<HEAD>
<TITLE>EMail Form Example</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<FORM ACTION="...
<INPUT TYPE="hidden" name="recipient" value="inm">
<INPUT TYPE="hidden" name="param_subject" value="Survey Form">
<INPUT TYPE="hidden" name="param_env_report" value="">
<INPUT TYPE="hidden" name="param_order" value="Name,EMail,Location,Comment">
<INPUT TYPE="hidden" name="param_database" value="">
<INPUT TYPE="hidden" name="param_required" value="Name,EMail">

<table border="0">
<tr>
<th>
Name:
</th>
<td>
<input type="text" name="Name" size="40">
</td>
</tr>
<tr>
<th>
EMail:
</th>
<td>
<input type="text" name="EMail" size="40">
</td>
</tr>
<tr>
<th>
Location:
</th>
<td>
<input type="text" name="Location" size="40">
</td>
</tr>
<tr>
<th>
Comment:
</th>
<td>
<textarea name="Comment" rows="4" cols="40"></textarea>
</td>
</tr>
</table>

<INPUT TYPE=submit value="Submit Survey">
<INPUT TYPE=reset value="Reset Form">
</FORM>

</body>
</html>



Pero se queda en m/cgi-bin/FormMail.pl y no se envia el email, porque?

Muchas gracias

Última edición por arnair; 26/05/2009 a las 07:56