In the past I've used profman2 to create MAPI profiles for servers that need access to Exchange mailboxes when I don't want to install Outlook on a server. This works okay when I'm able to log in as the user who needs access to the profiles. This doesn't work when the application is being run by a service account that has no login rights. How can I programicatlly create the profile either for a different user or at runtime by the service account?
As an aside I use Redemption to access Exchange that requires a MAPI profile already exist. Redemption seems to allow for the creation of MAPI profiles but I can't seem to make this work in C#. Any assistance is appreciated.