Changing user's IMAP settings with QueryIdentity

  • Thread starter Thread starter Chuck Bohling
  • Start date Start date
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.
 
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
 
Back
Top