Como crear una forma de contacto
Forma de contacto
Selecciones el siguiente texto y grabelo como “Miforma.html”:
<html> <head><title>Simple PHP Based Form Mail Application for MangoHosting</title> </head> <body bgcolor="#ffffff" text="#000000"> <!-- begin form example --> <FORM METHOD="POST" NAME="MiForma" ACTION="http://www.mangohosting.com/apps/mailform/mailform.php"> <!-- #####NO TOCAR##### direccion para notificacion de errores --> <input type="hidden" name="alert_to" value="support@mangohosting.com"> <!-- ##### 1. CAMBIAR ##### direccion a donde se enviar los correos, pueden ser varias separadas por coma --> <input type="hidden" name="recipients" value="galvezz@yahoo.com"> <!-- ##### 2. CAMBIAR ##### titulo del email enviado--> <input type="hidden" name="subject" value="Mango Hosting - Contact form"> <!-- ##### 3. CAMBIAR ##### url a donde se redirige despues de procesar la forma-->
<input type="hidden" name="good_url" value="http://www.mangohosting.com/es/thankyou.html"> <!-- ##### 4. OPCIONAL DE CAMBIAR##### campos obligatorios--> <input type="hidden" name="required" value="email:Direccion de email,name:Nombre"> <div align=center> <table cellspacing=1 cellpadding=4 width="50%" bgcolor=#COCOCO border=0> <tr bgcolor=#ffffff> <td bgcolor="#336699" align=center width="40%" height="30" colspan="2"> <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <b>Por favor introduzca sus datos: </b></td></font> </tr> <tr bgcolor=#ffffff> <td bgcolor="#efefef" width="40%" height="25" align=left>
<font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <b>Nombre: </b></td><td width="60%"><INPUT TYPE=TEXT NAME=name SIZE=60></td></font> </tr> <tr bgcolor=#ffffff> <td bgcolor="#efefef" width="40%" height="25" align=left> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <b>Email: </b></td><td width="60%"><INPUT TYPE=TEXT NAME=email SIZE=60></td></font> </tr> <tr bgcolor=#ffffff> <td bgcolor="#efefef" width="40%" height="25" valign=top>
<font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <b>Comentarios: </b></td><td width="60%"><TEXTAREA NAME=comments COLS=50 ROWS=8></TEXTAREA></td></font> </tr> <tr bgcolor=#ffffff> <td bgcolor="#efefef" width="40%" height="35" align=center colspan="2"> <font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"> <input type=submit value="Enviar"></td></font> </tr>
</table> </div> </FORM> <!-- end form example --> <hr> <center><a>MangoHosting Solutions</a></center> </body> </html>
Una vez guardado en su disco duro, necesitará editar los campos mostrados en rojo, que indican la dirección destino, el titulo del mensaje y la página de acuse de recibo de los datos (normalmente una pagina de agradecimiento):
<!– ##### 1. CAMBIAR ##### direccion a donde se enviar los correos, pueden ser varias separadas por coma –>
<input type=”hidden” name=”recipients” value=”contact@yourdomain.com“>
<!– ##### 2. CAMBIAR ##### titulo del email enviado–>
<input type=”hidden” name=”subject” value=”Mango Hosting - Contact form“>
<!– ##### 3. CAMBIAR ##### url a donde se redirige despues de procesar la forma–>
<input type=”hidden” name=”good_url” value=”http://www.yourdomain.com/thankyou.html“>
<!– ##### 4. OPCIONAL DE CAMBIAR##### campos obligatorios–>
<input type=”hidden” name=”required” value=”email:Direccion de email,name:Nombre”>




































































Leave a Reply