How to programmatically create an IMAP account in an existing Outlook profile without ProfMan? #996
Aquiles (APPAMonkey)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm developing a C# application to automate the creation of IMAP accounts in classic Microsoft Outlook (Outlook 2016/2019/Microsoft 365 desktop).
So far, my application can:
Read the existing Outlook MAPI profile using Redemption RDO.
Enumerate all existing accounts in the profile.
Validate IMAP and SMTP connectivity before import.
The only missing step is to create a new IMAP account in an existing Outlook profile without any user interaction.
I know that Redemption ProfMan can do this, but I'm looking for a free alternative or a solution based entirely on Microsoft's APIs.
Has anyone successfully created an IMAP account programmatically using any of the following?
I don't need Exchange or Microsoft 365 support—only standard IMAP accounts.
Redemption RDO already allows me to read all existing Outlook accounts correctly. The only missing functionality is creating new IMAP accounts.
Has anyone managed to do this without using Redemption ProfMan?
I'm not looking for UI automation (AutoIt, SendKeys, Power Automate, etc.). I'm looking for a supported programmatic solution that creates the account directly in the Outlook profile.
Any examples, GitHub projects, sample code, documentation, or alternative approaches would be greatly appreciated.
Thank you!
All reactions