|
 |
asp_cdo thread: how should i do to use CDO to login Exchange Server
Message #1 by "Steven Kao" <mi86018@k...> on Thu, 12 Jul 2001 07:10:21
|
|
hello~
I want to use CDO to login a Exchange Server on a asp page, but I don't
know how to do. I have used CDO's Session object to login, but have a
error message. I want to know what the error message mean and how to solve
it or have any other way to login a Exchange Server(use asp).
thank you all!
Steven Kao
code:
<%
strServer = "test"
From = "steven"
Set objSession = CreateObject("MAPI.Session")
strProfileInfo = strServer & vbLf & From
objSession.Logon "","",False,True,0,True,strProfileInfo
....
%>
Error Type:
Collaboration Data Objects (0x43ED)
[ - [(80004005)]]
/mail.asp, line 5
Message #2 by "Siegfried Weber" <sweber@c...> on Thu, 12 Jul 2001 14:52:37 +0200
|
|
This is an access denied error most commonly happen because you use a
Windows account that doesn't have permissions to open the mailbox.
Check http://www.cdolive.com/asp.htm for a bunch of information about
CDO, ASP & security.
<Siegfried />
> -----Original Message-----
> From: Steven Kao [mailto:mi86018@k...]
> Sent: Thursday, July 12, 2001 9:10 AM
> To: ASP CDO
> Subject: [asp_cdo] how should i do to use CDO to login Exchange Server
>
> hello~
> I want to use CDO to login a Exchange Server on a asp page, but I
don't
> know how to do. I have used CDO's Session object to login, but have a
> error message. I want to know what the error message mean and how to
solve
> it or have any other way to login a Exchange Server(use asp).
> thank you all!
> Steven Kao
>
> code:
> <%
> strServer =3D "test"
> From =3D "steven"
> Set objSession =3D CreateObject("MAPI.Session")
> strProfileInfo =3D strServer & vbLf & From
> objSession.Logon "","",False,True,0,True,strProfileInfo
> ....
> %>
>
> Error Type:
> Collaboration Data Objects (0x43ED)
> [ - [(80004005)]]
> /mail.asp, line 5
|
|
 |