Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/12/2002, 17:47
Avatar de maestro
maestro
 
Fecha de Ingreso: febrero-2002
Ubicación: España
Mensajes: 2.364
Antigüedad: 23 años, 2 meses
Puntos: 1
Yo tengo un sistema montado usando JMAIL, pero seria facilmente adaptable a CDONTS O ASPMAIL:

MAIL.ASP
Set JMail = Server.CreateObject ("JMail.SMTPMail")

' This is my local SMTP server
JMail.ServerAddress = "smtp.tudominio.com:25"

' This is me....
JMail.Sender = "[email protected]"
JMail.Subject = "Tu registro en Tusitio..."

' Get the recipients mailbox from a form (note the lack of a equal sign).
JMail.AddRecipient email

' The body property is both read and write.
' If you want to append text to the body you can
' use JMail.Body = JMail.Body & "Hello world! "
' or you can use JMail.AppendText "Hello World! "
' which in many cases is easier to use.
JMail.Body = "Gracias por registrarte, "& nombre &" Esperamos que disfrutes de tu estancia" & vbCrLf &_
"Tu Nombre de usuario es: " & nombre & " Tu Paswword es: " & password

' 1 - highest priority (Urgent)
' 3 - normal
' 5 - lowest

JMail.Priority = 1

JMail.AddHeader "Originating-IP", Request.ServerVariables ("REMOTE_ADDR")

' Send it...
JMail.Execute


Las variables se las puedes pasar mediante un fomulario normal y correien con el metodo POST.
__________________
Jose Maria Fernandez
[email protected]
Http://www.expansionweb.net