exchange2007

How to programmatically check Out Of Office status in .NET

I am looking for a way to programmatically check through a subset of all AD users to get the status of their Out Of Office setting in Outlook 2007 on Windows XP/2000. I already have the list, I just need to know how to iterate through it to check the status of Out of Office Assistant. This will be happening through an executable runnin...

Single Sign On with Java + Exchange 2007 EWS

Hi I've been working on a project which uses SPNEGO to have Single Sign On for a Java based webapp. At the moment, it is working successfully with Jetty + SPNEGO and Active Directory so if you visit my test page, it can output the auth_user as well as the Negotiate token if the browser has been configured properly. The next step of th...

4.7.0 Timeout waiting for client input sending mail in C#

We have an internal program that runs on each user's computer on logon and occasionally it'll need to send an email. This used to work 100% of the time on Exchange 2003 but we've recently upgraded to Exchange 2007 and a lot of the time it fails with this exception. MailAddress _sender = new MailAddress("[email protected]", "Se...

Exchange Web Services (Managed API) vs. WebDav Performance Question

I'm new to Exchange (2007) development so please bear with me. :-). There appear to be a myriad of technologies for Exchange development -- the latest being Exchange Web Services -- and it's related Managed API. I need to write a program that can -- if necessary -- run on the Exchange servers -- to scan people's mailboxes for the purpo...

Cross folder searching of Exchange using Exchange Web Services

Is there a way to search Exchange using the EWS Managed API for all email messages across ALL folders. I'm using the FindItems API call -- but that appears to require that the search be confined to a single folder. private void InternalPurgeProcessFolder(FolderId folderId, ExchangeService service, SearchFilter searchCriteria) { ...

How do I discover all mailboxes for an Exchange Server using Exchange Web Services?

I'm using Exchange Web Services Managed API 1.0 to access the Exchange servers (2007) in my organization. I need to iterate over all the mailboxes on a given server. I haven't seen a way to get the list of mailboxes defined for a given Exchange server. I have been able to use the AutoDiscover service to find the address of a hub serve...

ADSI Editor problem

I had an exchange 2007 server in my organization suffer a catostrophic failure and was unrecoverable. I have installed a new Exchange 2007 server and as i expected, the old defunct server still shows up in the hub transport. I am trying to use ADSI to to remove it which I believe generally works, but for some reason on this system will...

Exchange 2007 Web Service Test Connection?

I've added an outlook component to my application that requires the user to input their exchange server url, as well as a username/password to connect to the exchange web service with. Is there a way I can take the settings they enter and test the web service connection to see if it is valid? ...

Import CSV contacts to Public Folders

I am trying to import a CSV file containing many contacts to a public folder in exchange 2007 installed on SBS2008 for use by outlook users. I have this script that I am trying to run through powershell 1.0 (there seems to be no powershell 2.0 installable for SBS2008). I have created a folder in the Public Folder area called pub_contac...

Extract Exchange 2007 Public Calendar Appointments using Exchange Web Services API

We have a public calendar for our company set up in an Exchange 2007 Public Folder. I am able to retrieve my personal calendar appointments for the current day using the code below. I have searched high and low online and I cannot find one example of someone retrieving calendar information from a Public Folder calendar. It seems like ...

Configure mail server to work with PHP.

Hi. My current project is a form that receives input from a user. After I receive that data, I must send a warning/report to a few email addresses, including the user who inserted the data. Almost everything is up and running, Apache, MySQL, PHP. Now I never installed a mail server, to work with PHP so I'm kinda lost. My employer has ...

Microsoft exchange 2007 Explicit login & access to other mailboxes not showing

So I am running exchange 2007 and up until yesterday there was a menu that allowed for the user to open other mailboxes through the Outlook Web Application. You would click on the name of the mailbox and it would let you type in the name of the mailbox you wish to open. I have full access to these boxes, yet the button that has the mailb...

Windows Service to synchronise with Exchange Server Contacts

I want to write a windows service that periodically synchronises a database with the contacts in an exchange 2007 server instance. Is this possible with Exchange Web Services or can I do this with powershell? If I go the EWB route, does this means that I need the client to set up the Web Service end point and make it pubilc? The cli...

Recover Exchange 2007 Storage group from EBD

Hi, Is there a way to restore the exchange 2007 storage group from an edb with no log files? My exchange server crashed and all I have is the .EDB file. Thanks ...

Microsoft Exchange WebService URL

How to know Exchange WebService URL, I have Exchange server version 2007 and I am trying to write a small C# console application to collect some data from exchange server but don't know what is the Exchange.WebServices Url. AutodiscoverUrl failed. ...

Connect to Exchange 2007 IMAP server using PHP imap_open with TLS authentication

I am having huge headaches trying to connect to an Exchange 2007 server (which supports IMAP) using the imap_open PHP function. The server uses STARTTLS encryption. This is what my credentials look like: 1) The email account is [email protected] 2) The DOMAIN/USERNAME/ALIAS information are FOO/RRR/ga.bar 3) The password is boo 4) The serve...

How to use Microsoft.Exchange.WebServices ?

i try to use : Microsoft.Exchange.WebServices.dll to use outlook. but connection return error Error return line:service.AutodiscoverUrl("[email protected]"); The Autodiscover service could not be located. my codes: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Mail; using ...

Upgrade Exchange 2007 to Exchange 2010

My company is currently using Microsoft Exchange Server 2007 and wants to upgrade to 2010. My company has about 100 employees and a large flow of email messages in every hour. Read from Microsoft article (http://technet.microsoft.com/en-us/library/dd638158.aspx), an extra domain is required for the co-existence when both servers are run...

Access to different mailbox exchange 2007 c#

I am trying to access a mailbox and I already gave permissions to the user as can be seen in the next image. 1-> is the email I want to check 2-> is the user that has permissions and when I run this code to get the inbox emails ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1); service.Credentials = n...

Exchange add-in that creates a folder and populates it with quarantine

Hi everyone, I want to develop an Exchange add-in that would automatically add a folder to users' mailboxes in outlook or any other client. The Exchange add-in would allow users to manipulate quarantine mail through this automatically created folder. Quarantine is gathered using a third-party software (acts as a gate to Exchange) and ...