Questions tagged [exchange-server]

Questions about automation and APIs related to Microsoft's Enterprise level messaging server.

Microsoft Exchange Server is the server side of a client–server, collaborative application product developed by Microsoft. It is part of the Microsoft Servers line of server products and is used by enterprises using Microsoft infrastructure products. Exchange's major features consist of electronic mail, calendaring, contacts and tasks; support for mobile and web-based access to information; and support for data storage.

Use this tag on programming questions related to the use of this product - questions on installation, maintenance and configuration are better asked on Server Fault, while questions on the use and configuration of Outlook or other email clients are better directed to Super User.

See also:

4797 questions
6
votes
3 answers

ABAddressBook ABSource and ABSourceType

I am attempting to create an app that can be used to search an Exchange GAL, however, I am finding the new 4.0 documentation regarding this subject confusing. Does anyone know how I might go about searching the GAL for names containing a specific…
JfgDev
  • 61
  • 1
  • 4
6
votes
2 answers

Sending email using SMTP in C# ocasionally times out

I'm using the following code to send an email via MS Exchange server in a windows domain: SmtpClient client = new SmtpClient(); client.Port = 25; client.Host = "mail.mydomain.com"; client.EnableSsl = false; client.Timeout =…
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
6
votes
3 answers

Outlook ReportItem.Body returning messed up encoding

If certain users automate the Outlook Client to view bounce backs/ReportItems in a shared inbox, rather than returning the clear text of the message as indicated by the documentation there is a unicode string that has been parsed as a UTF-8 string -…
MattB
  • 2,203
  • 5
  • 26
  • 48
6
votes
0 answers

ColdFusion Office 365 Exchange distribution group access?

I am currently using cfexchangeConnection in order to connect to our outlook.office365.com connection. My goal is to connect a user, find out what distribution group they are in (e.g., Staff, Members, Clerks, ...), and then send them to the…
Ace Player
  • 73
  • 7
6
votes
2 answers

How do I get folder size with Exchange Web Services 2010 Managed API?

I'm attempting to use EWS 2010 Managed API to get the total size of a user's mailbox. I haven't found a web service method to get this data, so I figured I would try to calculate it. I found one seemingly-applicable question on another site about…
Adam Tuttle
  • 19,505
  • 17
  • 80
  • 113
6
votes
2 answers

How to suppress read receipt via IMAP?

I want implement a confirmation dialog for sending email read receipts in my application. The application uses IMAP to communicate with the mail server, which is currently restricted to a Microsoft Exchange Server 2010. The receipt is obviously…
Sebastian Zartner
  • 18,808
  • 10
  • 90
  • 132
6
votes
4 answers

Get-MailboxFolderStatistics ItemsInFolder also returns subfolder counts and counts are not correct

I'm using PowerShell to return a report of Exchange mailbox statistics as a tab-delimited text file. I'm having trouble with the ItemsInFolder property of the Get-MailboxFolderStatistics cmdlet (from the…
rory.ap
  • 34,009
  • 10
  • 83
  • 174
6
votes
2 answers

Whats the best way to Programmatically Process New Email Messages and Store Attachments

I have several clients/vendors that distribute reports to me via email. Some of these files are enormous, and need to be removed from email and saved on a file share for processing, as well as to control mailbox size. Can anyone provide guidance on…
john.da.costa
  • 4,682
  • 4
  • 29
  • 30
6
votes
3 answers

Use Javamail for accessing Microsoft Exchange mailboxes (IMAP, MS Exchange)

I need to connect to a Microsoft Exchange Server through IMAPS JavaMail. First, I got the: A1 NO AUTHENTICATE failed. javax.mail.AuthenticationFailedException: AUTHENTICATE failed. exception in my debugger. Then, I disabled some authentication…
6
votes
1 answer

EWS: Streaming Notifications vs Push Notifcations

Microsoft Exchange introduced Streaming notifications as an alternative to pull/push notifications with Exchange 2010. Basic introduction on streaming can be found on this msdn article and blog However, I cant figure out the actual advantage of…
Andy
  • 1,080
  • 5
  • 20
  • 35
6
votes
1 answer

What is the simplest way to run a script when an email is received?

I'd like to run a script, typically in PHP or MySQL since it involves changing a Mysql db table when an email arrives at my exchange server (2010). The server holds IIS7. So in short: Email->Exchange server->changes a table in MySQL DB Notes: Not…
JDuarteDJ
  • 1,073
  • 12
  • 25
6
votes
2 answers

Exchange ItemID differs from GlobalAppointmentID for Outlook AddIn

The problem I'm having is that the GlobalAppointmentID of a Outlook Appointement created using a Outlook FormRegion differs from that of the ItemID when using EWS Managed API. I'm creating an Outlook addIn that allows users to add customer and…
6
votes
2 answers

What causes the OnSubscriptionError to be fired in StreamingSubscriptionConnection in EWS API?

I am getting this error in production. Don't know what exactly causes this. OnSubscriptionError : Microsoft.Exchange.WebServices.Data.ServiceResponseException: The specified subscription was not found. Now i want to simulate the…
Sameer
  • 3,124
  • 5
  • 30
  • 57
6
votes
2 answers

How to call Exchange Web Services GetUserAvailabilityRequest when current timezone does not observe daylight savings time?

I am attempting to call GetUserAvailabilityRequest from South Africa Standard Time which does not observe daylight savings time, however, the TimeZone element requires StandardTime and DaylightTime sub-elements which require details about the…
Greg Martin
  • 5,074
  • 3
  • 34
  • 35
6
votes
3 answers

Exchange Webservice Managed API - Find items by extended properties

I have tried to use extended properties on appointments with EWS, but I can not seem to find the appointments again. The set property part is equal to the one shown in this question: How to Update an Appointment from Exchange Web Service Managed API…
Jacob
  • 409
  • 1
  • 6
  • 16