Solved

How to Determine if user is on Exchange or Domino

Posted on 2008-10-16
5
285 Views
Last Modified: 2013-12-18
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
Comment
Question by:Sokolaka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 8

Expert Comment

by:greesh_hem
ID: 22731061
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
 
LVL 22

Expert Comment

by:mbonaci
ID: 22731250
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
 
LVL 63

Expert Comment

by:SysExpert
ID: 22731426
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
 

Author Comment

by:Sokolaka
ID: 22731452
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
 
LVL 22

Accepted Solution

by:
mbonaci earned 125 total points
ID: 22731652
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question