Foros del Web » Programando para Internet » ASPX (.net) »

Error al tratar de enviar mail con asp.net 1.1

Estas en el tema de Error al tratar de enviar mail con asp.net 1.1 en el foro de ASPX (.net) en Foros del Web. Hola, Estoy revizando una aplicacion, cuando fue desarrollada (mi maquina) no me muestra ningun error en el envio de mails, pero al pasarla a produccion ...
  #1 (permalink)  
Antiguo 02/08/2006, 15:12
Avatar de jhonwilliams  
Fecha de Ingreso: marzo-2004
Ubicación: Copacabana - Colombia
Mensajes: 1.484
Antigüedad: 20 años, 2 meses
Puntos: 76
Error al tratar de enviar mail con asp.net 1.1

Hola,

Estoy revizando una aplicacion, cuando fue desarrollada (mi maquina) no me muestra ningun error en el envio de mails, pero al pasarla a produccion (servidor) me muestra este error:

Código:
At least one of the From or Sender fields is required, and neither was found.
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: At least one of the From or Sender fields is required, and neither was found.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x8004020d): At least one of the From or Sender fields is required, and neither was found.
]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
   System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +473
   System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +58

[HttpException (0x80004005): Could not access 'CDO.Message' object.]
   System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +113
   System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1846
   System.Web.Mail.SmtpMail.Send(MailMessage message) +150
   CasoSoporte.Soporte.EnviarMail()
   CasoSoporte.Soporte.cmbAbrirNuevoCaso_Click(Object sender, EventArgs e)
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1277
¿Alguiien sabe el porque pasa esto?

Gracias
__________________
Si mi respuesta te ha ayudado, agradezco que me regales unos puntos de Karma XD.

"Una mujer sería encantadora si uno pudiera caer en sus brazos sin caer en sus manos." (Ambrose Bierce)
  #2 (permalink)  
Antiguo 02/08/2006, 22:17
Avatar de mabarcau  
Fecha de Ingreso: mayo-2005
Mensajes: 317
Antigüedad: 19 años
Puntos: 0
Seria de gran ayuda si colocas el codigo que empleas, de casualidad empleas autenticacion?



slds.
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 05:52.