MAPI - can my app discover who's out there handling the mail?

I have a MFC app where the MAPI works great except with Lotus Notes. Is there a way with MAPI (or anything in MFC)to discover what the default mail client is?  Then I if know it's Lotus, I could disable the email option inside my app.

Who is Participating?
DanRollinsConnect With a Mentor Commented:
You could check the values in this key:


In the sytem Registry.  Do you need help in how to access registry settings?

For 'problem' clients (Lotus is a problem) you could try:

   ShellExecute(NULL, "open", "mailto://",

as a way to bring up the default client (but that would not place the data into the email), but if you are just passing a short note, you can try:

-- Dan
gkibbleAuthor Commented:
Thanks Dan,
looking at the registry will solve my problem
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.