Foros del Web » Programando para Internet » ASP Clásico »

Error En Codigo

Estas en el tema de Error En Codigo en el foro de ASP Clásico en Foros del Web. TENGO ESTE CODIGO EN ASP, EL CUAL LO ESTOY LLAMANDO DESDE UN BOTON EN FLASH PARA ENVIAR UN FORMULARIO DE CONTACTO. CUANDO LLAMO EL ARCHIVO ...
  #1 (permalink)  
Antiguo 16/02/2005, 21:24
 
Fecha de Ingreso: marzo-2004
Mensajes: 24
Antigüedad: 20 años, 3 meses
Puntos: 0
Error En Codigo

TENGO ESTE CODIGO EN ASP, EL CUAL LO ESTOY LLAMANDO DESDE UN BOTON EN FLASH PARA ENVIAR UN FORMULARIO DE CONTACTO. CUANDO LLAMO EL ARCHIVO DESDE FLASH ME SALE ERROR 500 Y ME QUEDO FRITO PORQUE DE ASP NO SE ABSOLUTAMENTE NADA. EL CODIGO DE ASP ESTA SOLO DE LA CASILLA DE NOMBRE, PRA NO HACER EL MENSAJE MUY LARGO.

AGRADEZCO AYUDAS!!!

<%
casilla_destino = "[email protected]"
servidor = "mail.ccardonas.com"
varBody = varBody & "<p style=""margin-top: 0; margin-bottom: 0""><font face=""Verdana"" size=""1""><STRONG>Formulario: </STRONG></font></p>"
varBody = varBody & "<p style=""margin-top: 0; margin-bottom: 0""><font face=""Verdana"" size=""1"">&nbsp;</font></p>"
varBody = varBody & "<p style=""margin-top: 0; margin-bottom: 0""><font face=""Verdana"" size=""1""><STRONG>Nombre: </STRONG> " & Request("nombre") & "</font>"


Set Msg = Server.CreateObject("JMail.Message")

Msg.Logging = True
Msg.Silent = True

Msg.From = casilla_destino
Msg.AddRecipient casilla_destino
Msg.Subject = "Formulario"
Msg.HTMLBody = varBody

if not Msg.Send(servidor) then
Error = True
else
Error = False
end if
%>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:33.