Mostrando Codigo - Cold Fusion
EXPLICACION
Debemos modificar la accion del formulario a este archivo, segun lo llamemos. En el ejemplo lo hemos llamado Contactar.cfm
< CFIF IsDefined ( "proceso" ) >
< CFMAIL to = "Para@su_dominio.com" from = "#email_contacto#" Subject= "Aqui pondriamos el titulo del mensaje" >
#Mensaje_email#
Mensaje de : #nombre# - #email_contacto#
========================================
</ CFMAIL >
< CFMAIL to = "#email_contacto#" from = "de email" Subject= "Ttitulo" >
Gracias por enviar tu email
#Mensaje_email#
Mensaje de: #nombre# - #email_contacto#
========================================
</ CFMAIL >
Mensaje fue enviado correctamente
< CFELSE >
< cfform action = "contactar.cfm" method = "post" >
< input type = "hidden" name = "proceso" Value = "1" >
< table align = "center" border = "0" width = "100%" >
< td width = "40%" valign = "top" align = "right" > Nombre:
</ td >
< td width = "60%" > < cfinput type = "text" name = "nombre" size = "20" required = "yes" message= "Por favor indica tu nombre!" > </ td >
< td width = "40%" valign = "top" align = "right" > Email:
</ td >
< td width = "60%" > < cfinput type = "text" name = "email_contacto" size = "20" required = "yes" message= "^Por favor indica tu email!" > </ td >
< td width = "40%" valign = "top" align = "right" > Mensaje:
</ td >
< td width = "40%" valign = "top" align = "right" > </ td >
< td width = "60%" > < input type = "submit" value = "Enviar" > </ td >
</ cfform >
</ CFIF >
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Comentario usuario
4
5
necesito ayuda con asfusion gracias
Comentario usuario
1
5
Este codigo se puede insertar en un formulario hecho en flash?
Comentario usuario
2
5
hola necesito in formaciom sobre todo lo que sea