Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/06/2004, 02:58
Avatar de LeCLUB
LeCLUB
 
Fecha de Ingreso: abril-2003
Ubicación: Barcelona (España)
Mensajes: 205
Antigüedad: 23 años, 5 meses
Puntos: 1
Código PHP:
<%
email_usuario = "[email protected]"
email_remitente = "[email protected]"
 
asunto = "Mensaje de Prueba"
 
mensaje = "<table width='200' border='1'>"
mensaje = mensaje & "<tr>"
mensaje = mensaje & "<td>NOMBRE</td>"
mensaje = mensaje & "<td>Pepito</td>"
mensaje = mensaje & "</tr>"
mensaje = mensaje & "<tr>"
mensaje = mensaje & "<td>APELLIDO</td>"
mensaje = mensaje & "<td>Garcia</td>"
mensaje = mensaje & "</tr>"
mensaje = mensaje & "</table>"
 
Set envio = Server.CreateObject ("CDONTS.NewMail") 
 
' Formato HTML 
envio.BodyFormat = 0 
envio.MailFormat = 0 
 
' 
Envía el e-mail
envio
.Send email_remitente, email_usuario, asunto, mensaje 
 
Set envio 
= Nothing 
 
 Mensaje de confirmación
reponse
.write "El mensaje se ha enviado correctamente" 
%>