Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

How to Determine if user is on Exchange or Domino

Our office has recently migrated over to Outlook 2007 from Lotus Notes 6.5.  Some of our users are still working in Lotus Notes, I'm trying to figure out, is there a place I can look in the Outlook or Lotus Notes application which can help me determine whether a user is on the Exchange server or Domino server?
0
Sokolaka
Asked:
Sokolaka
1 Solution
 
greesh_hemCommented:
To confirm for Outlook 2007 you can check Under Tools>Options>Mail Setup>Email Accounts>Change and then the Microsoft Exchange Setting page will give you the name of the server on which the users mailbox resides so you can confirm from the server name whether the user is on Exchange or Domino Server.
0
 
mbonaciCommented:
You can check the registry:

HKLM - Software - Clients - Mail - (Default)

To get the value:
Function GetRegValue (szKey$, szValueName$) As String
	Dim szValue As String*200
	
	hKey = 0
	RetCode = RegOpenKeyEx (HKEY_CURRENT_USER, szKey, 0, KEY_READ, hKey)
	If RetCode <> 0 Then
'          Print "RegOpenKeyEx: " & RetCode
		Exit Function
	End If
	dwType = 0
	dwSize = 200
	RetCode = RegQueryValueEx (hKey, szValueName, 0, dwType, szValue, dwSize) 
	If RetCode <> 0 Then
'          Print "RegQueryValueEx: " & RetCode
		Exit Function
	End If
	Call RegCloseKey (hKey)
	
	GetRegValue = szValue
Done:
End Function
 
 
 
Example:
        'Obtain values from the registry:
	lpSubKey1 ="SOFTWARE\Microsoft\Internet Explorer\Main"
	IESearchURL =  GetRegValue(lpsubkey1, "Search Page" )

Open in new window

0
 
SysExpertCommented:
ALso depends on hw you are migrating.

This information may also be in the Domino directory, as well as in AD


I hope this helps !
0
 
SokolakaAuthor Commented:
Thank you guys for the prompt response.  I want to find out from my computer rather than needing to accessing the user's computer. Is there any way I can determine that (The other solutions works if I was at the user's desk)?

Thanks!
0
 
mbonaciCommented:
1:
You can create a trivial button with code above (slightly modified) and paste it in a memo that you'll send to all employees.
The button should:
 - get info from registry
 - send the info in a new e-mail to your address

2:
Since the first thing to do when you come to work is open your mail, another way would be to temporarily change the design of mail.ntf db in a way that you put the mail sending code in a databases' PostOpen event.
That way you'll get the mail from all people who use Notes e-mail.

Hope this helps,
MbĀ¤
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now