Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis smtp nntp > february 2005 >

iis smtp nntp : CDO error '8004020f'



Kal
2/17/2005 10:08:16 PM
I have access to two LANs each with an Exchange Server and a webserver.

There is an MSDN article "Sending SMTP Mail by Port 25 Using CDOSYS". I
copied this code and on the first network it worked perfectly.

The server that worked has an address of 10.0.0.x and the exchange server
has an address of 10.0.0.y and relay explicitly allowed for 10.0.0.x. This
webserver is used for test and has no external ip address.

The webserver that does not work has two addresses 10.1.1.x and
209.111.251.y (assigned to the website). The exchange server has an address
of 10.1.1.z and relay explicitly allowed for 10.1.1.x.

The page fails with the not very informative error in the subject. I added
an explicit route for 10.1.1.0 but it made no difference. Does the webserver
try to send the message via the external address? If so, I suppose this is
seen as a forbidden relay.

Is there a solution?

Kal

Kal
2/18/2005 12:10:16 PM
Holla,
There is no SMTP server on Webserver. This is not CDONTS, rather CDOSYS. I
believe it is using something similar to when you do "telnet
smtpserveripaddress 25" and enter the commands manually.
Kal



[quoted text, click to view]

Holla
2/18/2005 2:52:52 PM

[quoted text, click to view]
I had similar problem. When I checked Event viewer on webserver. It says
invaild queue. Then I realised that Every one didn't had write authority on
the queue folder of SMTP (c:\inetpub\mailroot\queue) Did you seen any events
in event log?

regards
holla

AddThis Social Bookmark Button