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

How to full appointment details from a meeting room using EWS

I am trying to get full meeting details from a Conference Room meeting. The below code works fine for a user's calendar but when I change the calendar to the meeting room (resource calendar) it doesn't return all of the information (specifically the…
1
vote
1 answer

How to convert from java.util.TimeZone to EWS Java API's TimeZoneDefinition?

Given a instance of Java's TimeZone class, how do I convert to Microsoft EWS JAva API's microsoft.exchange.webservices.data.property.complex.time.TimeZoneDefinition ? Specifically, I am using to setStartTimeZone and setEndTimeZone of an appointment…
pathikrit
  • 32,469
  • 37
  • 142
  • 221
1
vote
1 answer

Using Exchange Webservices in Office 365 Starter Android Project

I'm trying to create an Android app to book meeting rooms through Office 365. I've started with this tutorial (https://github.com/OfficeDev/O365-Android-Start). It's up and running, and I can connect to my outlookuser with it. But it is far too…
mathletics
  • 271
  • 1
  • 4
  • 15
1
vote
1 answer

Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process

I am using EWS Java APIs and passing OAuth tokens to fetch data from office 365 mailboxes. Because I am developing Web APIs I preferred using "Application Permissions" defined in Azure active directory application for Office 365, and used "client…
pranjaljain
  • 170
  • 1
  • 3
  • 18
1
vote
1 answer

EWS Java API get Attachment

I have some issue in getting some attachment using ews java API 1.3 SNAPSHOT, i want to get Attachment in my email, here my code : try { ExchangeService service; service.setUrl(new URI("https://" + myserver + "/ews/Exchange.asmx")); …
1
vote
1 answer

EWS Java API - Connection error

I think I've exhausted my options on this one. I have searched over the internet for days and couldn't find anyone with a similar problem. I'm using the EWS Java API 1.2.1 to connect to an Exchange server and open my inbox folder to look for emails.…
1
vote
0 answers

Access public/shared calendar via EWS API and create appointments

How to access a public shared calendar(with owner permission) to create appointments using EWS Java API? I am only able to create appointments in my private calendar using my credentials: Appointment appointment = new…
1
vote
1 answer

Saving ItemAttachment

I'm using EWS JAVA API 1.2 and I have a problem saving an ItemAttachment using this code. if(attachmentsCol.getPropertyAtIndex(i) instanceof FileAttachment) { ... } else { ItemAttachment attachment =…
Enrico M
  • 11
  • 2
1
vote
1 answer

Error while sending mails using EWSJavaAPI

I am trying to send mails from my java web application by using EWS Java api. But ia m getting an error when sending mails. We have Exchange 2013 server installed. Here is my code ExchangeService service = new ExchangeService(); …
Bhaskar Sharma
  • 79
  • 2
  • 5
  • 14
1
vote
1 answer

Java EWS Reading Outlook Appointments

I would like to read all appointments from one user between some dates. And get from them the information about what, from when till when, which color (category) it has, the state if out of office. I didn't found a sample which worked. Can you show…
1
vote
1 answer

Exchange Web Services get Message Message-ID

I'm using the Java EWS library to try to sync messages from an Exchange mailbox. I'm able to get a list off all new messages created since the last sync date, however, I would really like to find out the Message-ID property of the message before…
stan
  • 4,885
  • 5
  • 49
  • 72
1
vote
3 answers

EWSHttpException: Connection not established

I'm using EWS Java API to connect Exchange server and retrieve information about mail, calendar appointment and task. It's working well with a lot of user, except for one account. I got the following error :…
user3767882
  • 11
  • 1
  • 2
1
vote
4 answers

How can I create a Lync meeting from my Java program?

I have a program written in Java that uses the Exchange Web Services (EWS) API to create appointments on users' calendars via impersonation. Now I want to create Lync meetings instead. I thought I could just set the IsOnlineMeeting property to true…
Samuel Edwin Ward
  • 6,526
  • 3
  • 34
  • 62
1
vote
1 answer

EWS fetch mails having specified subject line

How can I specify the SearchFilter with Java EWS library to fetch mails containing defined subject line? Thanks in advance.
Anant Agarwal
  • 63
  • 1
  • 10
1
vote
0 answers

How to permanently monitor events in exchange folders with a Java thread via managed J-EWS

I will be using managed EWS for Java to create a thread that performs tasks on our Exchange server as reactions to creation, modification and deletion of elements in certain folders for certain users. I have a few questions regarding…
ASA
  • 1,911
  • 3
  • 20
  • 37