Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/06/2004, 17:07
Stream
 
Fecha de Ingreso: mayo-2004
Ubicación: Guadalajara, Jalisco, México
Mensajes: 724
Antigüedad: 20 años
Puntos: 6
Problemas al enviar un email desde localhost

Hola.. creo que he hecho todo lo necesario para enviar correos desde el local host...


Dim email As New MailMessage
With email
.From = "[email protected]"
.To = "[email protected]"
.Subject = "Artículo de MSDN"
.Body = "Lea todos los artículos de MSDN, para aprovechar la tecnología al máximo."
End With
SmtpMail.Send(email)


Me dá el siguiente error:


Server Error in '/Email' Application.
--------------------------------------------------------------------------------

No es válido el valor de configuración "SendUsing".
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: No es válido el valor de configuración "SendUsing".

Source Error:


Line 31: .Body = "Lea todos los artículos de MSDN, para aprovechar la tecnología al máximo."
Line 32: End With
Line 33: SmtpMail.Send(email)
Line 34:
Line 35:


Source File: d:\inetpub\wwwroot\Email\WebForm1.aspx.vb Line: 33

Stack Trace: