Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Logging on to a Exchange server


Message #1 by "Benny Olsson" <Benny.Olsson@D...> on Wed, 15 Nov 2000 13:48:45 -0000
I'm trying to log on to a Exchange 2000 Server from a ASP page thru an

COM-object i've written. I'm using CDO 1.21 to handle the communication. I

can log on to the Exchange server using the User that is currently loggon

on on the Client (web server), but I can't access any other users, so what

I wanna know is howto open the users mailboxes using Mailbox and Password.

I'm using the .ProfileInfo logon method, but it seems like I can't supply

a Password using this method.

Any ideas on howto solve this?

Thanks in advance!



//Benny Olsson

Message #2 by "Siegfried Weber" <sweber@c...> on Mon, 20 Nov 2000 23:01:02 +0100
This is a multi-part message in MIME format.



------_=_NextPart_001_01C0533D.5F6AFC44

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



The CDO 1.x profilename and profilepassword parameters are not used to

implement NT authentication/security which is required if you want to

open another users mailbox with CDO 1.x. The parameters mentioned above

are *only* used to open a password protected information store, like a

.pst (personal folder store) file.



So, the answer is that you need to make sure you either are logged on

with an NT account that has permissions to open all mailboxes or write

custom ASP code that forces a browser logon dialog each time another

mailbox should be opened to let the user supply an account and password.



</Siegfried>



> -----Original Message-----

> From: Benny Olsson [mailto:Benny.Olsson@D...]

> Sent: Wednesday, November 15, 2000 2:49 PM

> Subject: [asp_cdo] Logging on to a Exchange server

>

>

> I'm trying to log on to a Exchange 2000 Server from a ASP page thru an

> COM-object i've written. I'm using CDO 1.21 to handle the

> communication. I

> can log on to the Exchange server using the User that is

> currently loggon

> on on the Client (web server), but I can't access any other

> users, so what

> I wanna know is howto open the users mailboxes using Mailbox

> and Password.

> I'm using the .ProfileInfo logon method, but it seems like I

> can't supply

> a Password using this method.

> Any ideas on howto solve this?

> Thanks in advance!

>

> //Benny Olsson

>

> ---

> Wrox Professional Web Developer Conference II

> http://www.wroxconferences.com/WebDevEurope

> November 29th - December 1st 2000, Amsterdam, Netherlands

> Create powerful distributed web applications serving you now and

> in the future. From ASP+ and VB.NET to XML and SQL Server 2000




>

>




Message #3 by "Benny Olsson" <Benny.Olsson@D...> on Wed, 29 Nov 2000 13:24:10 -0000
I've tried to create a NT user with full rights, but it doesn't seem to

work. No matter what rights I give the user I allways receive the "Access

is Denied" messade when I'm trying to open another users mailbox.

And this Browser Logon Dialog you speak about.. Would this be a dialog

that I create by myself just to get the Username and Password so that I

can open the users mailbox?

Or what I really wanna know.. CAN I open another users mailbox using Cdo

if I have the users Username/Mailboxname AND his/hers password? And if

yes, then what version of CDO will I need to make it work?



Thanks in advance!



//Benny Olsson


  Return to Index