You can't do it.
Yes you can write code to get all your contacts [see below], but to get
other peoples contacts you need one of two things:
1 - E-mail account name and NT Password for each and every account.
2 - Permissions set on each users account so that you can go and look at
their e-mail.
Even if you modify your access permissions to have everything, Exchange will
still prevent you from abusing your position.
If you can get around this, then you can go in and read everyones e-mail.
[Below]
If you (or anyone else) wants some simple code to list out the contacts,
paste this snippet into a text file with a .VBS extension, and double click
on the file. You don't need VB, just to have the scripting host enabled.
set OutL=WScript.CreateObject("Outlook.Application")
set mapi=OutL.GetNameSpace("MAPI")
Set myItems = MAPI.GetDefaultFolder(10).Items
for each myItem in MyItems
msgbox "FOUND IN: " & myItem.PARENT & ". " & myItem.FullName & " " &
myItem.JobTitle & " " & myItem.Birthday
next
-----Original Message-----
From: sammy rashid [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 10:13
To: Exchange Discussions
Subject: VB - Retrieving contacts from Exchange Server
I want to ue VB to retrieve retrieve all contacts from everybodys
mailboxes in the organisation and then put those into a SQL Server
database. Any ideas?
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]