p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

asp_cdo thread: Near Frustration with ADOEX and ".send" on SBS server

Message #1 by "James Woodruff" <James.Woodruff@e...> on Fri, 7 Mar 2003 20:14:43
I have been working for nearly a week trying to get my web server to e-
mail a form.  (SBS 2000  Exchange 6.0 (SP3)
2000 Server 5.0 (SP1))

I finally tried the Knowledge Base Article 248687  (link:

and even this "sure fire" demonstration fails the same way my code does.

The issue is at line 24 in the demonstration "iMsg.Send" 

When I run the page (exactly per the directions), I get the following 
error message:

****Error Type: CDO.Message.1 (0x80040233)
Could not find the Sender's mailbox. 
/Sendmailsample/SendMail.asp, line 24****

This makes some sense since the "From" in the demo code 
is "administrator@d..." (which may not be valid).

However if I change the line (21):
iMsg.From  = "administrator@d..."
iMsg.From  = "administrator@e..."  '(my domain)
the error becomes:
****Error Type:  CDO.Message.1 (0x80070005)
Access is denied. 
/Sendmailsample/SendMail.asp, line 24****

This is the EXACT error I get with the at the ".send" statement in the 
code I've written.

I have also studied in detail the KB article 324027 which deals with the 
SP3 issue, and have verified that "cdoSendUsingPickup" is present 
at "C:\Program Files\Exchsrvr\mailroot\vsi 1\Pickup" (as workaround 3 

Any thoughts on what is wrong would be greatly appreciated!!!
The problem is always "Access is denied" when CDOEX tries to send a 
message with proper configuration  (CDO.Message.Coniguration) items and 
CDO.Message objects created.

It seem like somewhere a "privilege" isn't right, but I can't seem to 
find it.

Jim Woodruff

  Return to Index