exchange

Save message properties only locally (Outlook)

How can an Outlook add-in set a MAPI property (for example, the body content) on a message, but only have it saved in the local cache (and not sent back to the exchange server)? I've seen this done with a few encryption add-ins. I'm open to using pretty much any API that could do the trick. Thanks! ...

configure exchange server to allow webdav query

im writing a webpart trying to query the exchange using webdav and im getting Unauthorized error all the time. what i need to configure in the exchange server for it to work? ...

Recommendations for hooking Java into MS Exchange Server

At my current job we are using a product called JINTEGRA that lets us get access to users outlook folders (Contacts, email, calendar etc.) and make updates through a separate CDO/MAPI server. I was wondering if anyone could recommend any alternatives to this ? We had initially tried WEBDAV which was good for reading information, but not...

MS Exchange Server 2003: any good scripting tutorial?

Hello. I need to write a script for MS Exchange Server 2003 that will analyze incoming emails and put some of them into a specific mailbox. Of course it's a lot of information about Exchange Server scripting at MSDN, but amount of information there is very huge. Is it some simple tutorials available that will describe how to install a s...

MSMapi32 works with 'Negotiate' authentication, but doesn't work with NTLM or Kerberos.

My application uses msmapi32 to connect to Exchange server and download incoming messages. If I use Negotiate authentication in mapi profile, everything works fine, but other options fail. I get a non-descriptive error when calling 'm_session.SignOn();' method. AFAIK, Negotiate just chooses between Kerberos and NTLM, so I'm confused. Al...

VSTO: Cached exchange mode VS LastModificationTime

I am developing a VSTO Outlook Add-In that is relying on the LastModificationTime property of Outlook Appointment. The problem is when Cached exchange mode is turned On, the LastModificationTime property auto updates each time I close Outlook. Is there possible solution I can use to get the date and time when user changed the appointment...

When using EWS from within a website, is it possible to use the current logged in users identity?

I have a web application using Forms authentication provided by AD. I would like to know if it's possible to use EWS to send mail as the currently logged in user without having to supply credentials, or; would I be required to set up an account with impersonating access which will send mail on behalf of the currently logged in user? ...

Adding/Updating/Deleting Exchange Calendar entries externally?

I'm trying to see how it would be possible to externally maintain a user's (or users') Outlook calendar using .NET. We use a CRM for various sales and account management appointments, and now they need a seamless way of integrating the CRM events with the Outlook events. Is Exchange writable via web services or would this need to be do...

Grabbing values that came to Outlook from Exchange

Hi all, I have written a VSTO add-in that needs to get the an appointment information from the exchange server. On exchange (Outlook Web Access) I change a subject line of an appointment. When I see that Outlook changed the subject line to a new value, I try to grab the new value programmatically and most of the time it grabs old value...

How to loop through mails in Exchange using EWS ?

I've been given the task of fetching a list of the largest mails in our Exchange 2007 server. Since I've never coded against Exchange before, I looked around a bit and figured EWS is the newest interface to do so. However I can't find any documentation about looping through the mails, which I expect to be necessary to check the sizes. ...

Connecting to exchange server

Hello I am trying to connect to my POP3 mail account on exchange server using a program written in PHP everytime i try to fsockopen and connect to mail box on port 110 i get connection time out error. The username and pass of the account is correct. Do i have to enable some connector on my exchange box to connect to third party applic...

ASP.Net scheduling timed events for large scale systems

What would be the best practice for having hundreds if not thousands of timed events? I have a C# ASP.Net web based application, this application sits in-between Microsoft Exchange and another web based service. Exchange is checked once every hour for users appointments, these appointments then needed to be forwarded to another web base...

Send Fax via SBS 2003 Exchange from Linux/PHP

We have SBS 2003 set up to allow us to send faxes out via a Windows Printer. I have also successfully integrated PHP on our Linux Server w/ Exchange through OWA/WebDav -- allowing us to crawl email folders, send out email, etc. through the exchange server. What I'm trying to do is to email out from PHP using the Exchange 2003 service. I...

Can I perform a search on mail server in Java?

I am trying to perform a search of my gmail using Java. With JavaMail I can do a message by message search like so: Properties props = System.getProperties(); props.setProperty("mail.store.protocol", "imaps"); Session session = Session.getDefaultInstance(props, null); Store store = session.getStore("imaps"); store.connect("imap.gmail.co...

Using EWS Managed API to create appointments for other users?

In EWS Managed API is it easy to create an appointment for a specific user: ExchangeService service = new ExchangeService(); service.Credentials = new NetowrkCredentials ( "administrator", "password", "domain" ); service.AutodiscoverUrl(emailAddress); Appointment appointment = new Appointment(service); appointment.Subject = "Testing"; ...

submitting data via email to websystem

I'm working on a task system and I'd like to be able to submit a task to the system by emailing it to a particular address. I'm thinking I could set my user by the sender, the task subject by the subject and the task comments by the text of the email. Not sure the version of Exchange we have available if that matters but I'm running .n...

C# Exchange Powershell specified cast not valid

I'm getting a specified cast error trying to return a integer, example code below: results = pipeline.Invoke(); foreach (PSObject ps in results) { int diff = 0; Int32 exchcount = Convert.ToInt32(ps.Members["itemcount"].Value); diff = itemcount - exchcount; } I'm trying to find out what the data type if for itemcount of the Get-Mailbo...

Get Active Directory Attributes for Users on Legacy Exchange Servers

I would like to create a CSV file of the users on our Exchange 2003 servers, and include some attributes from their AD account. In particular, I would like to pull certain AD values for the users with RecipientTypeDetails = LegacyMailbox. I have tried a few different methods for targeting and filtering (ldapfilter, filter, objectAttrib...

Getting started with Exchange Web Services 2010

I've been tasked with writing a SOAP web-service in .Net to be middleware between EWS2010 and an application server that previously used WebDAV to connect to Exchange. (As I understand it, WebDAV is going away with EWS2010, so the application server will no longer be able to connect as it previously did, and it is exponentially harder to...

IMAP protocol support in different email servers

Having to interact with several different email servers via IMAP (using javamail), I have found that there is a very different level of support for IMAP features among them. The lack of support of some features has resulted in more developing time, more complicated code to deal with different support, worse perforamance due to not being ...