Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/07/2006, 10:53
johnp
 
Fecha de Ingreso: febrero-2006
Mensajes: 47
Antigüedad: 18 años, 3 meses
Puntos: 0
OK, este es el código que me da despues de poner el mode = 'Off'



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

The server rejected one or more recipient addresses. The server response was: 530 Authentication required

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: The server rejected one or more recipient addresses. The server response was: 530 Authentication required


Source Error:


Line 262: message.Cc = "[email protected]";
Line 263: SmtpMail.SmtpServer = "192.168.132.6";
Line 264: SmtpMail.Send(message);
Line 265:
Line 266: conn.Close();


Source File: d:\Proyect\C# Project\nuevo\AsistenciaTecnica.aspx.cs Line: 264

Stack Trace:


[COMException (0x8004020f): The server rejected one or more recipient addresses. The server response was: 530 Authentication required
]

[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 bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2501760
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String methodName, Object[] args) +72

[HttpException (0x80004005): The server rejected one or more recipient addresses. The server response was: 530 Authentication required
]
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String methodName, Object[] args) +119
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +2684
System.Web.Mail.SmtpMail.Send(MailMessage message) +131
SitioUNSC.AsistenciaTecnica.btnEnviar_Click(Object sender, EventArgs e) in d:\Proyect\C# Project\nuevo\AsistenciaTecnica.aspx.cs:264
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42