Tema: E-mail
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 20/03/2003, 22:37
cosagaucha
 
Fecha de Ingreso: marzo-2003
Mensajes: 3
Antigüedad: 22 años, 1 mes
Puntos: 0
Cita:
Mensaje Original por maestro
Ya que el te lo ha puesto con CDONTS yo te paso uno con ASPEMAIL.

registro.htm
<form method="POST" action="alta.asp">
<input type="text" name="email" size="20">
<input type="submit" value="Enviar">
<input type="reset" value="Restablecer">
</form>


alta.asp
<%
email=request("email")
Set Mail = Server.CreateObject("Persits.MailSender")

Mail.Host = "smtp.tusitio.com"
Mail.From = "[email protected]"
Mail.FromName = "Departamento de Altas"
Mail.AddAddress email

Mail.Subject = " Tu registro en www.tusitio.com"
Mail.body = "Gracias por registrarte, etc etc etc"

On Error Resume Next
Mail.Send ' ó Mail.SendToQueue
If Err <> 0 Then
Response.Write "Ha ocurrido un error: " & Err.Description
End If
%>
hola, una pregunta.. intente hacer andar este mismo ejemplo (cambiandole el smtp y demas..) y me tiro este error.. alguien sabe a que se puede deber??

The page cannot be displayed
There is a problem with a program on the page you are trying to reach, and the page cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Open the www.apa.org.ar home page, and then look for links to the information you want.
Click the Refresh button, or try again later.

HTTP 403.1 Forbidden: Execute Access Forbidden
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)


Background:
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.


More information:
Microsoft Support

--------------

gracias al que pueda tirarme una soga!!