ASP.NET - NO ENVIA E-Mail asp

 
Vista:

NO ENVIA E-Mail asp

Publicado por NEURON (6 intervenciones) el 17/02/2005 20:03:01
Tengo el siguiente código que en Windows 2000 profesional funcionaba bien aparecía un mensaje enviando 1 de 10 y así sucesivamente los colocaba en “C:\Inetpub\mailroot\Queue” y luego enviando 1 de 10 así sucesivamente y de inmediato llegaba a su destinatario, en un servidor Windows 2000 small business presenta un error el cual adjunto mas adelante, y en Windows XP sp2 aparente mente envía el mensaje pero nunca llegan y en la ruta “C:\Inetpub\mailroot\Queue” coloca los mensajes y después los pasa a “C:\Inetpub\mailroot\Drop” y últimamente los coloca en “C:\Inetpub\mailroot\Badmail” ¿a que se debe esto? Necesito urgentemente una solución.

De antemano gracias por su colaboración.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:NO ENVIA E-Mail asp

Publicado por NEURON (6 intervenciones) el 17/02/2005 20:03:50
El código es:

Dim mailMessage As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage
mailMessage.From = "NEURON"
mailMessage.To = email
mailMessage.Subject = "Autorización para Utilizar los Servicios Web"
mailmessage.Body = "Bienvenido.... su Usuario es: " & login & " y su Clave es: " & password & " Gracias por utilizar nuestros servicios. Att. NEURON"
mailMessage.BodyFormat = System.Web.Mail.MailFormat.Text

System.Web.Mail.SmtpMail.SmtpServer = "201.245.230.79"
System.Web.Mail.SmtpMail.Send(mailMessage)

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:NO ENVIA E-Mail asp

Publicado por NEURON (6 intervenciones) el 17/02/2005 20:04:16
Error Win 2000 Small Business

Server Error in '/' Application.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:NO ENVIA E-Mail asp

Publicado por Ariel (3 intervenciones) el 18/02/2005 17:55:46
Yo tengo el mismo problema pero parece que es porque yo uso un servidr de correo Microsoft Enchange. Necesito la forma de enviar coreo por ASP.NET con este otro tipo de servidor....
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar