Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/01/2002, 14:47
Avatar de Aston
Aston
 
Fecha de Ingreso: mayo-2001
Ubicación: Madrid
Mensajes: 933
Antigüedad: 24 años
Puntos: 0
Re: Hacer PÁgina De RecomendaciÓn

Hola tigre:

Este es el código de enviar a un amigo y que sirve perfectamente para lo que quieres. Además, funcionando sin problemas.

<%@ Language=VBScript%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Fernando Ortiz</title>
</head>
<body><%
Dim cBody, n

'For Each n In Request.Form
' cBody = cBody & n & ": " & Request.Form(n) & chr(13)
'Next

Set oCDO = Server.CreateObject("CDONTS.NewMail")

'Asignamos las propiedades al objeto
oCDO.From = "[email protected]"
oCDO.To = "[email protected]"
oCDO.Subject = "Asunto del mensaje"
oCDO.Body = "Este es el cuepo del mensaje"
'oCDO.Cc = "[email protected];[email protected]& quot;
oCDO.Bcc = "[email protected]"
'oCDO.MailFormat = 0

oCDO.Send

Set oCDO = Nothing 'Liberar...
Response.Write Replace(cBody, chr(13), "<br>") & "¡¡¡Vale...!!!"

%>
</body>
</html>

Espero que le saques partido, un saludo, amigo.

<a href="http://www.laventanita.net/" target="_blank">
<img src="http://www.breogan.org/images/Aston.gif" border="0" alt="La Ventanita.net - Lo imprescindible en la red"></a>