exchange

How can I create Exchange distribution list inside the GAL using .NET?

We need to remotely create an Exchange 2007 distribution list from Asp.Net. Near as I can tell, the only way to create a distribution list in the GAL is via the exchange management tools. Without installing this on our web server, is there any way to create a distribution list remotely? There are some third party components that allow...

What do I use for ChangeKey in EWS UpdateItem?

I'm trying to use Exchange Web Services to update a calendar item. I'm creating an ItemChangeType, and then an ItemIdType. I have a unique ID to use for ItemIdType.Id, but I have nothing to use for the ChangeKey. When I leave it out, I get an ErrorChangeKeyRequiredForWriteOperations. But when i try to just put something in there, I g...

Is it possible to use Mac Mail with MS Exchange if IMAP is disabled

Our network admins have disabled IMAP and POP for our exchange server, but do have RDP over HTTP enabled. Does Mac Mail only use IMAP to communicate with exchange servers, or does it also know how to use RDP over HTTP? ...

Reading the Exchange server time via MAPI

I'd like to calculate the age of the messages in an Exchange mailbox to make sure they sit there for at least a minute before our program (C++, MAPI) processes them. This way the spam filter we use should have enough time to do its job. Because the time on the PC where our program runs might be different from the time used by the Exchan...

Need a way to authenticate to Exchange Web Services

I'm using Exchange Web Services to Find, Create, Update, and Delete appointments from the calendars for one or more people. The application would be used by a manager to view employees' vacation time, as well as assign appointments based on availability. In order for this to all work, an authenticated user's credentials must be sent to ...

CDO: Outlook contact sync - How to identify the correct object to sync with?

I have a web application that syncs Outlook contacts to a database (and back) via CDO. The DB contains every contact only once (at least theoretically, of course doublets happen), providing a single point of change for a contact, regardless of how many users have that particular contact in Outlook (like Interaction or similar products). ...

Outlook PropertyFrom MAPI Schema Property ID

I am looking to get the actual property name from a MAPI schema property. I'm obtaining the MAPI Schema property "http://schemas.microsoft.com/mapi/proptag/0x67AA000B" but I would like to know what field this corresponds to (I.E. Anniversary, BusinessAddress, etc). Any insight would be appreciated. ...

Using Delegates with Exchange Web Services

Has anyone used delegates with exchnage web services? I would like one user to be able to control other users' calendars in Exchange. I'm finding this problem to be a little tricky, and I'd like to see how others have been able to get it to work properly. ...

How to programmatically update the Outlook contact name resolution order

When in Outlook 2003, open the Address Book, select Tools->Options. You get the Address dialog showing the option "When sending mail, check names using these address lists in the following order:" For most people, this will contain only "Contacts". For corporate networks, it'll probably also contain "Global Address List". The problem...

Using CalendarItemCreateOrDeleteOperationType with Exchange Web Services and Delegates

When I create a calendar appointment using delegates with Exchange Web Services, I have to set CalendarItemCreateOrDeleteOperationType. The problem is, the delegate will be a superuser account that no one actually uses, and I would like to avoid filling up its mailbox. CalendarItemCreateOrDeleteOperationType has a SendToNone option, bu...

MAPI: Format of PR_SEARCH_KEY

Does anyone know the format of the MAPI property PR_SEARCH_KEY? The online documentation has this to say about it: The search key is formed by concatenating the address type (in uppercase characters), the colon character ':', the e-mail address in canonical form, and the terminating null character. And the exchange docum...

Exchange Web Services, try to use ExchangeImpersonationType ...

I am trying to use EWS, first time trying to use the ExchangeServiceBinding. The code I am using is below: _service = new ExchangeServiceBinding(); //_service.Credentials = new NetworkCredential(userName, userPassword, this.Domain); _service.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; _service.Url = this.ServiceU...

Procedure for Migrating SBS2003 From POP3 Connector

We are going to migrate our SBS2003 server from downloading e-mail via the POP3 connector to getting e-mail sent directly to the server via SMTP. The static IP address is already setup and working. Following is the procedure I've come up with. Did I miss anything, or have anything unnecessary? • Preliminary Setup (several days befor...

.net/exchange: add email addresses dynamically?

I'm building a .NET application where I want to dynamically add an email address for users when they create an account, so that they can email themselves things to their account and see it in the app. The email address would be something like [account_name]@[site.com]. Is there a good reference URL to read which explains how to do this...

Using WebDAV to access Exchange 2003 Inbox

How do you (using .NET) use WebDAV to get a listing of emails in a user's inbox (not your own inbox) and then get the properties and/or contents of each email? I'd like to do this without WebDAV.NET, if at all possible. ...

Access original subject of meeting in Resource calendar

I'm trying to set up a system that displays calendar items from a resource calendar on a web page using Exchange 2007 and EWS (Exchange Web Services). I've managed to get access to the calendars of the resources, but when getting the items in the calendars, the subject of each calendar item is not the original subject used when someone ...

Email Notification

The company I work for has consultants that work off site. Because of policy we are not allowed to set up email forwarding so these users can receive their email. Obviously this is a problem as these users may miss important email. Can anyone recommend a way that we could inform these users they have email waiting for them? ...

Where is "CDO.Appointment"

Hello . I'm using VB .NET 2005 and Exchange Server 2003 installed I have found some code which gives me the ability to connect in an Exchange Server and create an appointment. The thing is that I cannot find the CDO. Appointment. Where can I find it and make the below code to work ? I have tried all the examples with CDO and Outlook. I ...

Connect to Exchange mailbox with Python

I need to connect to an Exchange mailbox in a Python script, without using any profile setup on the local machine (including using Outlook). If I use win32com to create a MAPI.Session I could logon (with the Logon() method) with an existing profile, but I want to just provide a username & password. Is this possible? If so, could someo...

Outlook/Exchange - how to programmatically export users in distribution list?

How do I export all of the names and email addresses from a distribution list in Outlook using code? I have access to an Outlook 2000 or Outlook 2007 client. Ideally I would like the code to be in C#. ...