Changing user's IMAP settings with QueryIdentity

C

Chuck Bohling

I'm connected to an IMAP email server and need to set some of the account
info programmatically. In particular, the user's display name. I use
IMAPISession::QueryIdentity and OpenEntry to get PR_DISPLAY_NAME and to set
it. After, setting it and doing a SaveChanges, the new value is there. But
after the final Release, the old value returns. Any ideas what I'm doing
wrong. I suspect the info is kept someplace else and is being restored after
the Release.
 
H

Henry Gusakovsky

IMAPISession::QueryIdentity returns one-off EntryId for the IMAP account.
You can't change PR_DISPLAY_NAME by that way.
You can use only registry hack to modify display name for IMAP account.

WBR
Henry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top