Questions tagged [ewsjavaapi]

Java implementation of the Exchange Web Services (EWS) API. This API gives developers programmatic access to Exchange Server 2007 SP1 and above.

Java implementation of the Exchange Web Services (EWS) API. This API gives developers programmatic access to Exchange Server 2007 SP1 and above.

153 questions
1
vote
1 answer

EWS fetch read/unread mails from specific user in Java

How can I specify the SearchFilter with Java EWS library to fetch mail from a specific user? In microsoft.exchange.webservices.data.ItemSchema, I could find something like "IsFromMe" but this will check for current User. Thanks in advance.
Anant Agarwal
  • 63
  • 1
  • 10
1
vote
1 answer

EWS Java API 1.2 - best way to parse letter body

I'm using EWS Java API 1.2 to get e-mails from server. And I have a problem: I use properties like this: PropertySet itemPropertySet = new…
Vitaliy Borisok
  • 822
  • 3
  • 11
  • 21
1
vote
1 answer

EWS: Category management

Is there a way to handle the management of categories in the ESW-(Java)-API? i.e. create, rename, modify, delete, change color, etc. I cannot see a class in there but assume it should work.
LeO
  • 4,238
  • 4
  • 48
  • 88
1
vote
1 answer

Accessing custom fields in Outlook form and Exhange web services

We have an application that has two parts, and want both to be able to access the same fields of Outlook items. By field, I mean any type of key-value type of data which can be stored on the items, because apparently it seems there are multiple kind…
Alex Biro
  • 1,069
  • 1
  • 14
  • 27
1
vote
1 answer

EWS - Timezone issue with getUserAvailability method

I am using EWS Java API 1.2 and Exchange 2010 SP2 for my application. With getUserAvailability method I am getting the meeting start-end times and free-busy statuses of the requested users. The problem here is that this method returns date according…
1
vote
1 answer

EWS - How to get isRecurring info in GetItemResponse

I am using EWS API in Java for Exchange Server communication. I have subscribed to Exchange server with stream subscription for Calendar folder. I am getting notifications when a meeting is created and sent to me. I wonder, if I can learn in the…
1
vote
0 answers

Linking Contacts using Exchange Web Services

I am trying to link contacts (and also to look up what the linked contacts are) via Exchange Web Services. So far, I have been able to retrieve this information using extended properties. Specifically, I am looking up the property…
Avrom
  • 4,967
  • 2
  • 28
  • 35
1
vote
2 answers

Java EWS API - reading non default mailbox

I would like to read a non default mailbox on an exchange server with the Java EWS API, but something is wrong with my code. Here is an excerpt with the relevant part: ExchangeService service = new…
bayerb
  • 649
  • 2
  • 9
  • 28
1
vote
0 answers

Testing Pull Subscription in Java EWS API using PowerMockito

I have a function that processes events obtained by a PullSubscription to Microsoft Exchange. public void processEvents(ExchangeService service, PullSubscription subscription) throws Exception { GetEventsResults events =…
1
vote
1 answer

EWS and Exchange 2010 Streaming Notifications - Seeing double

I'm working on integrated an application with Exchange using EWS Java. Yes, it's not officially supported, I know. It's all pretty straightforward and I have streaming notifications set up with the exchange server. However, I've hit a couple of…
1
vote
1 answer

How to set the contact Email1DisplayName using the EWS Java API (Exchange Web Service)?

I just figured out how to set the title (see How to set the contact title using the EWS Java API (Exchange Web Service)?). Now I am trying to set the email 1 display name. If I use the exposed API Contact.getEmailAddresses().setEmailAddress(), the…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
1
vote
0 answers

Java EWS1.2 API: How to find which certificate our Exchange server is looking for

I have referred to almost every question on this topic on SO but none of the answers gave me a break-through unfortunately. I am using EWS1.2 and running the following code from within eclipse to connect to our exchange server to send a test email.…
1
vote
1 answer

Adding EWS Java API

I am trying to add EWS Java API 1.2 to my android app. I followed the same procedure given in this link I generated jar file and added thet to my android library. But when i try to access any of the class from this jar file i am getting …
png
  • 4,368
  • 7
  • 69
  • 118
1
vote
0 answers

Using EWS to send mail from exchange server

I followed this link to generate the jar file. I added this to my project. Then have a simple code to send a mail: public void mailSend() { ExchangeService service = new ExchangeService(); ExchangeCredentials credentials = new…
png
  • 4,368
  • 7
  • 69
  • 118
1
vote
2 answers

Fastest way to get E-mail from Exchange Server for GWT application using IMAP or Exchange Web service?

I am trying to get emails from Microsoft Exchange server using EWSJ API which in terms uses Exchange Web Services; but I would like to know; will it be fast to fetch emails using IMAP? Since we have GWT we cannot directly connect to Exchange from…
AJS
  • 47
  • 5