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.
Henry Gusakovsky - 24 Dec 2004 07:51 GMT
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
> 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
[quoted text clipped - 3 lines]
> wrong. I suspect the info is kept someplace else and is being restored after
> the Release.