How can I create an edb file programitically or a mailbox at exchange server 2007?

Posted on 2010-09-17
Medium Priority
Last Modified: 2012-05-10
Hi Sir,

   Could you please help me in creating an edb file (Exchange server database file) or a mailbox with in a server 2007 through C++.  I have been trying through ADSI or CDOEXM . As I read somewhere that CDOEXM doesnt works with exchange server 2007. And ADSI have no option to create a mailbox.

Please help me out of creating a mailbox in exchange server 2007.
Question by:davinder101
  • 2

Accepted Solution

smartsid earned 1000 total points
ID: 33707097
Hi davinder101,
.EDB is ESE database file to store mailbox data.
Can you please explain the situation where you need to create such a file so we can understand the requirement better.

Author Comment

ID: 33707191
Ya sure,

  Actually currently I am able to fetch the individual mails and can be saved as MSG file , which are inside the edb file through MAPI. Now what I want is to save those mails into my own edb. I need to create a offline empty edb file just like the existing one,so that I can save those mails into that as a backup file.

 Like there are APIs for creating pst files, Msg files, like that there might be any for edb.

Hope you might got my question.

Thanks for the reply.

Author Closing Comment

ID: 33999995
After describing the situation No reply I received till now.

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Upgrading from older Exchange server to the latest Exchange server can be tiresome, error-prone and risky, without being a seasoned exchange server administrators. It can become even problematic if you're an organization that runs on tight timeline…
A method of moving multiple mailboxes (in bulk) to another database in an Exchange 2010/2013/2016 environment...
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question