P
Peter
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
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