we're rolling out a new voicemail system, and trying to figure out a way to programmatically add a new IMAP account to a user's Outlook.
Idea is that I create a form that takes a bunch of fields needed, and creates it all for them.
I would take a look at Redemption In the commercial version there is a bonus dll "profman" Which allows you play with the outlook profiles.
来源:https://stackoverflow.com/questions/2589838/create-imap-account-in-outlook-2007-programmatically