ASP - COMO ENVIAR UN URL

 
Vista:

COMO ENVIAR UN URL

Publicado por Tania (12 intervenciones) el 11/12/2001 00:35:10
HOLA, ALGUIEN SABE COMO SE ENVIA EL URL DE LA PAGINA EN LA QUE ESTOY POR MAIL USANDO EL CDONT?
ASI ES COMO ENVIO MI MAIL
strBody = "<html><body>"
'strBody = strBody & "Este es un Reporte fue generado por el departamento de:" &departamento&"<br><br>"
'strBody = strBody & "Este Reporte tiene prioridad de:" &prioridad&"<br><br>"
strBody = strBody & "Nombre del Cliente: "& nombre &"<br>"
strBody = strBody & "Municipio: "& municipio &"<br>"
strBody = strBody & "Teléfono: "& telefono &"<br>"
strBody = strBody & "</body></html>"
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = mail
objCDOMail.To = mail & ";" & mail2
objCDOMail.Subject = strSubject
objCDOMail.BodyFormat=0
objCDOMail.MailFormat=0
objCDOMail.Body = strBody
objCDOMail.Send
Set objCDOMail = Nothing
ENTONCES NECESITO SABER CUAL INSTRUCCION ES PARA ENVIAR POR EJEMPLO SI YO ESTOY AHORITA EN ESTA PAGINA:
http://www.lawebdelprogramador.com/news/agregar.php?id=7&texto=ASP
ASI QUIERE QUE SE ENVIE POR CORREO, Y QUE AL RESIVIR EL CORREO TAMBIEN LLEGUE ESTO, http://www.lawebdelprogramador.com/news/agregar.php?id=7&texto=ASP
Y YO NADA MAS LE DE CLICK Y ME TRAIGA AUTOMATICAMENTE AQUI, ESPERO HABERME EXPLICADO.
MUCHAS GRACIAS POR SU ATENCION
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO ENVIAR UN URL

Publicado por Ivantxo (79 intervenciones) el 11/12/2001 09:08:30
Buenas.Para meter el churro con toda la direccion en una variable, hazlo como sigue:

paginaactual="http://"& request.servervariables("server_name")&request.servervariables("script_name")

Espero que te sirva y que sea lo que querias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMO ENVIAR UN URL

Publicado por Tania (12 intervenciones) el 11/12/2001 12:49:11
GRACIAS POR TU RESPUESTA, YA LO PROBE PERO NO ME TRAER LA DIRECCION CON TODO Y PARAMETROS QUE MANDO, COMO QUIERA MUCHAS GRACIAS YA ALMENOS TENGO UN PUNTO DE REFERENCIA
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar