General discussion

Locked

find the exch mail serv in the registry

By luca-mantovani ·
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?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

find the exch mail serv in the registry

by Australian Fun In reply to find the exch mail serv i ...

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!

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums