| Author |
CDO error '8004020f'
|
|
|
| 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" <kal@nospam.cgk.com> wrote in message
news:eyWz9AYFFHA.3908@TK2MSFTNGP12.phx.gbl...
> 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
>
>
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
| |
|
| 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
"Holla" <rbin.kor901209@in.bosch.com> wrote in message
news:cv4c5h$dl9$1@ns2.fe.internet.bosch.com...
>
> "Kal" <kal@nospam.cgk.com> wrote in message
> news:eyWz9AYFFHA.3908@TK2MSFTNGP12.phx.gbl...
> address
> webserver
> 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
>
>
|
|
|
|