|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Trouble using System.Web.Mailthat the sender address is invalid, but it is perfectly valid. Any suggestions? Error sending email using mail1.us.ups.com To: a**@ups.com;***@ups.com From: a**@ups.com Bcc: a**@ups.com ==================== 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 *** "Terry Olsen" <tolse***@hotmail.com> schrieb: <URL:http://www.systemwebmail.com/>> When trying to send an email, I get the following exception. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> You've provided us with the destination addresses, not the sender address. The
SMTP server you're communicating with is rejecting your e-mail, not .Net. You're probably trying to relay. Show quoteHide quote "Terry Olsen" <tolse***@hotmail.com> wrote in message news:%23q3YtMjiGHA.1208@TK2MSFTNGP02.phx.gbl... > 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: a**@ups.com;***@ups.com > From: a**@ups.com > Bcc: a**@ups.com > ==================== > 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 *** |
|||||||||||||||||||||||