Foros del Web » Programando para Internet » ASP Clásico »

Enviar Correo.

Estas en el tema de Enviar Correo. en el foro de ASP Clásico en Foros del Web. Hola no se mucho de asp pero necesito hacer un formulario que envie un correo con la info que estoy llenando. Pero cuando voy a ...
  #1 (permalink)  
Antiguo 12/06/2006, 10:12
Avatar de ancubero  
Fecha de Ingreso: octubre-2003
Ubicación: San Jose Costa Rica
Mensajes: 54
Antigüedad: 20 años, 7 meses
Puntos: 0
Enviar Correo.

Hola no se mucho de asp pero necesito hacer un formulario que envie un correo con la info que estoy llenando.

Pero cuando voy a enviar el correo el asp me devuelve este error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/sendmailers.asp, line 157

800401f3



lo que hay en la linea 157 es esto :

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")

alguien me puede ayudar gracias.
  #2 (permalink)  
Antiguo 12/06/2006, 10:35
Avatar de JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 20 años, 7 meses
Puntos: 27
Q: AspMail never works. I get Server object error 'ASP 0177:800401f3'. What is the problem?

A: This error means "Invalid class string" -- in other words the call to CreateObject failed because the name object cannot be found by the OLE sub-system. Causes include:

1. You really didn't run regsvr32 on the server after all.
2. You ran regsvr32 but it reported an error.
3. Someone modified security on part of the registry that's preventing the OLE subsystem from reading all or part of the HKEY_CLASSES_ROOT tree.
4. The name of the object you are trying to create was mispelled or is incorrect.
5. Determine if it's a permissions problem

Add the anonymous user (used by IIS) to the Administrators group. The test page then worked, proving it was a permissions problem. Do not forget to remove the anonymous IIS user from the Admin group!

6. Determine if it is a file permissions problem:

After removing the Anonymous user from the Admin group, add failure auditing to the file (smtpsvg.dll), which will determine if the file was ever accessed (by the lack of the failure event). If it isn't, this makes it clear that the failure is prior to file access but go ahead and check file/directory permissions to make sure the anonymous IIS user can access the file.

7. Check registry permissions

Using Regedt32, do find on smtpsvg.dll. Check the permissions for the key (and sub keys), and make sure that the anonymous user has read rights. Do a find on the class-id, which contains the location value, and version, and check those permissions as well.
__________________
JuanRa Pérez
San Salvador, El Salvador
  #3 (permalink)  
Antiguo 12/06/2006, 11:08
Avatar de Potro  
Fecha de Ingreso: abril-2001
Mensajes: 2.249
Antigüedad: 23 años, 1 mes
Puntos: 39
mmm sabes = te falta la libreria del SMTPsvg.Mailer por eso no la encuentra y el servidor nosabe que hacer asi que debes de instalar eso en tu server para el Cdonts es la libreria tal cdonts.dll la del SMTPsvg.Mailer no recuerdo.
  #4 (permalink)  
Antiguo 12/06/2006, 13:01
Avatar de El_Metallick  
Fecha de Ingreso: noviembre-2002
Ubicación: Santiago, Chile
Mensajes: 1.718
Antigüedad: 21 años, 7 meses
Puntos: 16
mira en la libreria de funciones postie un script que detecta que componente tiene tu servidor para mandar mails (http://www.forosdelweb.com/showpost.php?p=1192036&postcount=80 )... usalo para saber cual tiene y en las faqs postie un listado de como usar los componenetes mas comunes (http://www.forosdelweb.com/showpost.php?p=1190621&postcount=119 )... slaudos
__________________
Haz la guerra en la cama y el amor donde se te de la gana...
El tiempo es el mejor maestro, lo único malo es que te mata...¡¡Aprovecha tu tiempo!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:29.