Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3851810
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:13:12+00:00 2026-05-19T17:13:12+00:00

I need to create a mailbox on an exchange 2003 server using python. The

  • 0

I need to create a mailbox on an exchange 2003 server using python.
The stunt conditions are that our machines have either office 2007 and office 2010 installed and thus the cdoexm.dll is not installed on the system. Also as it is 2007/10 you cant install the ExchangeCdo as it requires certain versions of outlook. Also mapi is not enabled on the server.

Is this a case where I will have to call an external program to do this? I’ve spent the last couple of days trawling sites but all the solutions seem to use cdoexm.

Hope someone has some ideas!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:13:13+00:00Added an answer on May 19, 2026 at 5:13 pm

    OK so it wasn’t a python problem in the end but did require CDOEXM.
    First you need to go to control panel->add/remove programs->add/remove windows components. Select Internet Information Services (IIS) and click details, tick Internet Information Services Snap-In and click OK, then next and install (you will need the xp sp3 cd for this).

    After this is done you will need the exchange server (in my case 2003) install cd and you want to install management components only. When this is finally done you will have the CDOEXM dll which you can then use in your projects.

    Heres an example using Tim Golden’s awesome active directory module for Python.

    import active_directory
    
    homeMDB = "CN=UBER MAILBOX,CN=InformationStore,CN=UBERMAILSERVER,"\
            "CN=Servers,CN=Administrative Groups,CN=UBERORG,"\
            "CN=Microsoft Exchange,CN=Services,CN=Configuration,"\
            "DC=uber,DC=org,DC=uk"
    
    user=active_directory.find_user("captain.awesomeface")
    user.CreateMailbox(homeMDB)
    
    
    user.Properties["mail"].Value = "captain.awesomeface@uberorg.com";
    
    user.SetInfo()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a backup of a SQL Server 2005 Database that's only
I need to create an XML schema that looks something like this: <xs:element name=wrapperElement>
I need to create a linked server to a DB2 database on a mainframe.
I need to create a repeatable process for deploying SQL Server Reporting Services reports.
I need to create a button that has the same style as ButtonSpec with
I need to create a .Net windows service to monitor a mailbox and process
I need to automate a particular task that involves: Fetching mails from my mailbox
We have an Exchange Server running, we're trying to connect with it from an
I need to create a .bat file to run java program. I have a
I need to create a historical timeline starting from 1600's to the present day.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.