By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,820 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,820 IT Pros & Developers. It's quick & easy.

Is there a way to check if an email profile exist?

P: n/a
Hi,

When my program starts up, it uses MAPILogonEx to connect to the
default email profile (set by user).

The problem is, if the email profile no longer exist, it would give an
error "The profile name is not valid. Enter a valid profile name",
after pressing ok, the email profile wizard will come up. We don't
want the error message to come up, instead we want to somehow check if
the default email profile exist, if it doesn't exist, set the flag
MAPI_LOGON_UI (or something like that) and call MAPILogonEx so that i
will prompt the user to set up a profile.

So I was wondering if any of you guys know if there is a way I can
check if a email profile exist or not?

P.S. I was told that I can look up the email profile information in
the registry, is that true?

Thanks, any help would be greatly appreaciated

Peter
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In message <ea**************************@posting.google.com >, Peter
<ks****@gmail.com> writes
Hi,

When my program starts up, it uses MAPILogonEx to connect to the
default email profile (set by user).

The problem is, if the email profile no longer exist, it would give an
error


I'm sorry to hear it. What's your question about C++ ?

--
Richard Herring
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.