zeus
averigua priemro que onda con el servidor, si soporta ASP o PHP...
despues de eso tenes 2 posibilidades:
si soporta ASP necesitas instalar el CDONTS o el ASPMAIL
si soporta PHP no necestias instalar nada, hay una funcion en php que se llama
mail() que lo unico que haces es pasarle parametros y listoc!
aca te pongo 2 ejemplos tanto para ASP (cdonts) como para PHP
espero que te sirvan...
-------------------------------------------------------------
PHP
-------------------------------------------------------------
mail
(PHP 3, PHP 4)
mail -- Envía correo
Código:
Descripción
mail ( string para, string sobre, string mensaje [, string cabeceras_adicionales])
mail() envía automáticamente el mensaje especificado en mensage al destinatario especificado en para.
Para especificar múltiples destinatarios se puede hacer incluyendo una coma entre las direcciones en para.
Ejemplo 1. Enviando correo.
Código:
mail("pepito@loquesea.es", "Sobre este tema", "Linea 1\nLinea 2\nLinea 3");
Si se añadiera una cadena como cuarto argumento, esta cadena sería enviada al final de la cabecera.
Esto se usa normalmente para enviar cabeceras extra en los mensajes.
Si se desea enviar varias cabeceras extra el mecanismo será el mismo separándolas una linea.
Ejemplo 2. Enviando correo con varias cabeceras.
Código:
mail("pepito@loquesea.es", "El tema", $message,
"From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" . phpversion());
-------------------------------------------------------------
ASP
-------------------------------------------------------------
NewMail Object (CDONTS Library)
The NewMail object provides for sending a message with very few lines of code.
Properties
Bcc
Body
BodyFormat
Cc
ContentBase
ContentLocation
From
Importance
MailFormat
Subject
To
Value
Version
Methods
AttachFile
AttachURL
Send
SetLocaleIDs
Remarks
The NewMail object is not built on the normal API architecture. It is meant for rapid generation of notification mail by an automated process running in the Microsoft® Windows NT® Server. No user interface is supplied, and no interaction with human users is expected during the generation and sending of the message. Therefore the NewMail object's properties are not designed to be read back and inspected. With the sole exception of Version, they can only be written.
The NewMail object is self-contained and does not expose any of the Properties Common to All CDO for NTS Library Objects.
Attachments and recipients, once added to the NewMail object, cannot be removed, and the NewMail object itself cannot be deleted. When the Send method completes successfully, the NewMail object is invalidated but not removed from memory. The programmer should Set the invalid object to Nothing to remove it from memory, or reassign it to another NewMail object. Attempted access to a sent NewMail object results in a return of CdoE_INVALID_OBJECT.
The NewMail object does not belong to the hierarchy encompassing the other CDO for NTS Library objects. It cannot access, nor can it be accessed from, any of the other objects. Like the Session object, it is considered a top-level object and is created directly from a Microsoft® Visual Basic® program. Its ProgID is CDONTS.NewMail. This code fragment creates a NewMail object through early binding:
Código:
Dim objNewMail As CDONTS.NewMail
Set objNewMail = CreateObject("CDONTS.NewMail")
The main advantage of the NewMail object is the ease and simplicity with which you can generate and send a message. You do not have to log on to a session nor deal with a folder or a messages collection. You have only to create the NewMail object, send it, and Set it to Nothing. You can supply critical information in the parameters of the Send method. In many cases you only need three lines of code:
Código:
Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.Send("me@company.com", "you@company.com", "Hello", _
"I sent this in 3 statements!", 0) ' low importance
Set objNewMail = Nothing ' canNOT reuse it for another message
Including an attachment can add as little as one statement to your code, because you can pass information in the parameters of the AttachFile method:
Código:
Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.AttachFile("\\server\schedule\sched.xls", "SCHED.XLS")
objNewMail.Send("Automated Schedule Generator", "you@company.com", _
"Schedule", "Here's the latest master schedule", 0)
Set objNewMail = Nothing
------------------------------------------------------------------
tengo 2 .chm para pasarte...
uno de ASP y el otro de PHP
que es de donde saque esto.
ponele que entre los 2 sean 2mb comprimidos
si los queres avisame que te los mando a algun mail o algo
espero que sirva!
saludos!!!
------------------------------------------------------------------