Trouble using System.Web.Mail



When trying to send an email, I get the following exception. It says
that the sender address is invalid, but it is perfectly valid. Any
suggestions?

Error sending email using mail1.us.ups.com
To: aaa@xxxxxxx;bbb@xxxxxxx
From: aaa@xxxxxxx
Bcc: aaa@xxxxxxx
====================
System.Web.HttpException: Could not access 'CDO.Message' object. --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.Runtime.InteropServices.COMException (0x8004020E): The server
rejected the sender address. The server response was: 501 5.5.4 Invalid
Address

--- End of inner exception stack trace ---

*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: Frustration with exceptions
    ... called Sender. ... Exception processing provides a means for handling /unexpected/ situations gracefully. ... One needs to deal with the situation explicitly in the software solution using the same mechanisms one uses to resolve other requirements. ...
    (comp.object)
  • wtf
    ... An unhandled exception occurred during the execution of the ... Exception Details: System.Data.OleDb.OleDbException: Invalid use of Null ... System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) ... Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: AppVerifier stops with Invalid Handle but the call stack looks mas
    ... For invalid handle issues, you can use!htrace debugger extension and look ... ModLoad: 746f0000 7471a000 C:\WINDOWS\System32\Msimtf.dll ... First chance exceptions are reported before any exception handling. ... Stack unwind information not available. ...
    (microsoft.public.win32.programmer.tools)
  • Re: Cant access sending Web Forrms ViewState
    ... The View State is invalid for this page and might be corrupted. ... An unhandled exception occurred during the execution of the ... exception can be identified using the exception stack trace below. ... > Why do I get an empty collection where the sending WebForm has many ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: ASP.NET Exception Handling
    ... protected void Application_Error(Object sender, EventArgs e) ... throw new Exception; ...
    (microsoft.public.dotnet.framework.aspnet)