Discussion Locked

find the exch mail serv in the registry

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have developed an application over Win95 and it sends email. We need to determine the Exchange mail server to connect to and this information is stored in the registry due to the fact we want use the Outlook profile of the local email client installation.
Does it exist an API to read this information in the registry on the basis of the logged user?
Or, does Outlook standard installation provide API to link to custom applications in order to determine the profile of the logged user?

1 reply

by australian fun

Hello,

the straight forward answer is look in the registry at HKEY_CURRENT_USER\Software\Microsoft\[Windows NT\CurrentVersion\]Windows Messaging Subsystem
There are all information.

But the real question is if you want to use Outlook profile,why don't you want to use Outlook to send e-mail (look at Outlook Automation in MSDN)? Or MAPI (loot at objects like MAPISession)?

Good luck!

This discussion is closed to new replies.