469,590 Members | 2,467 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,590 developers. It's quick & easy.

Error Type: 0x8004020F

I've developed an application that is using the System.Web.Mail namespace and
have run into a rather interesting problem. The aforementioned error displays
this:

The following exception occurred: 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 (0x8004020F): The server
rejected one or more recipient addresses. The server response was: 553
sorry, relaying denied from your location [xxx.xxx.xxx.xxx] (#5.7.1)

The reason this is interesting is that I know relaying is possible as I'm
capable of sending small emails with a couple lines of text with no problem.
When I try to send a larger email with more than about 8 lines of text I
receive an error message.

I've been doing some research on this issue for the past 30 hours, and so
far I have not come up with a definitive solution. I've scoured the entire
SystemWebMail.com site and so far haven't come up with a workable solution.
It appears there are numerous people out there with a similar problem who too
have not resolved the problem.

With that said, my architecture is simple. I'm using just a laptop running
WinXP with Office 2003 Professional installed. My SMTP server is for my
website which is an offsite commercial provider.

What I have tried is sending authenticated emails with no luck. Microsoft's
WebSite recommends sticking with System.Web.Mail and not use CDOsys.dll, but
I've gone ahead and tried referencing that. Still no joy. I even ran across a
solution that works for about half the people, in that Office supercedes
CDOsys.dll with CDOEX.dll. In taking a look at the location of the
Interop.CDO.dll and verification of the CLSID, it has indeed superceded it.
I've tried to locate an updated version of CDOEX.dll and found them being
sold at sites such as http://www.dynamiclink.nl which has not delivered the
file to my email account as they stated. I haven't downloaded any of the
service packs that provide the update to the file as I'm once again using
just a regular laptop and not running IIS or Exchange for that matter.

The question is, what else should I look into to try to fix this problem?
Additionally if I require a newer version of CDOEX.dll, where can I find one
that is newer than 6.0.4641.0? Are there good third party SMTP solutions to
resolve the issues with System.Web.Mail? Any help in these regards is greatly
appreciated.

Thanks,
Chris
Nov 21 '05 #1
2 2709
I was able to procure cdoex.dll v6.5.6944.0 but to no avail that had not
worked either. Any ideas?

~Chris

"Chris Rennie" wrote:
I've developed an application that is using the System.Web.Mail namespace and
have run into a rather interesting problem. The aforementioned error displays
this:

The following exception occurred: 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 (0x8004020F): The server
rejected one or more recipient addresses. The server response was: 553
sorry, relaying denied from your location [xxx.xxx.xxx.xxx] (#5.7.1)

The reason this is interesting is that I know relaying is possible as I'm
capable of sending small emails with a couple lines of text with no problem.
When I try to send a larger email with more than about 8 lines of text I
receive an error message.

I've been doing some research on this issue for the past 30 hours, and so
far I have not come up with a definitive solution. I've scoured the entire
SystemWebMail.com site and so far haven't come up with a workable solution.
It appears there are numerous people out there with a similar problem who too
have not resolved the problem.

With that said, my architecture is simple. I'm using just a laptop running
WinXP with Office 2003 Professional installed. My SMTP server is for my
website which is an offsite commercial provider.

What I have tried is sending authenticated emails with no luck. Microsoft's
WebSite recommends sticking with System.Web.Mail and not use CDOsys.dll, but
I've gone ahead and tried referencing that. Still no joy. I even ran across a
solution that works for about half the people, in that Office supercedes
CDOsys.dll with CDOEX.dll. In taking a look at the location of the
Interop.CDO.dll and verification of the CLSID, it has indeed superceded it.
I've tried to locate an updated version of CDOEX.dll and found them being
sold at sites such as http://www.dynamiclink.nl which has not delivered the
file to my email account as they stated. I haven't downloaded any of the
service packs that provide the update to the file as I'm once again using
just a regular laptop and not running IIS or Exchange for that matter.

The question is, what else should I look into to try to fix this problem?
Additionally if I require a newer version of CDOEX.dll, where can I find one
that is newer than 6.0.4641.0? Are there good third party SMTP solutions to
resolve the issues with System.Web.Mail? Any help in these regards is greatly
appreciated.

Thanks,
Chris

Nov 21 '05 #2
I was able to procure cdoex.dll v6.5.6944.0 but to no avail that had not
worked either. Any ideas?

~Chris

"Chris Rennie" wrote:
I've developed an application that is using the System.Web.Mail namespace and
have run into a rather interesting problem. The aforementioned error displays
this:

The following exception occurred: 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 (0x8004020F): The server
rejected one or more recipient addresses. The server response was: 553
sorry, relaying denied from your location [xxx.xxx.xxx.xxx] (#5.7.1)

The reason this is interesting is that I know relaying is possible as I'm
capable of sending small emails with a couple lines of text with no problem.
When I try to send a larger email with more than about 8 lines of text I
receive an error message.

I've been doing some research on this issue for the past 30 hours, and so
far I have not come up with a definitive solution. I've scoured the entire
SystemWebMail.com site and so far haven't come up with a workable solution.
It appears there are numerous people out there with a similar problem who too
have not resolved the problem.

With that said, my architecture is simple. I'm using just a laptop running
WinXP with Office 2003 Professional installed. My SMTP server is for my
website which is an offsite commercial provider.

What I have tried is sending authenticated emails with no luck. Microsoft's
WebSite recommends sticking with System.Web.Mail and not use CDOsys.dll, but
I've gone ahead and tried referencing that. Still no joy. I even ran across a
solution that works for about half the people, in that Office supercedes
CDOsys.dll with CDOEX.dll. In taking a look at the location of the
Interop.CDO.dll and verification of the CLSID, it has indeed superceded it.
I've tried to locate an updated version of CDOEX.dll and found them being
sold at sites such as http://www.dynamiclink.nl which has not delivered the
file to my email account as they stated. I haven't downloaded any of the
service packs that provide the update to the file as I'm once again using
just a regular laptop and not running IIS or Exchange for that matter.

The question is, what else should I look into to try to fix this problem?
Additionally if I require a newer version of CDOEX.dll, where can I find one
that is newer than 6.0.4641.0? Are there good third party SMTP solutions to
resolve the issues with System.Web.Mail? Any help in these regards is greatly
appreciated.

Thanks,
Chris

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Morten Gulbrandsen | last post: by
6 posts views Thread by Peter Frost | last post: by
7 posts views Thread by p | last post: by
reply views Thread by Chris Rennie | last post: by
1 post views Thread by Jassim Rahma | last post: by
669 posts views Thread by Xah Lee | last post: by
reply views Thread by mchuc7719 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.