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
0
votes
1 answer

How do i get meeting/appointmens for more than one resource (mailbox) with EWS java api?

I have general question regarding using Exchange Web Service. I am using ews-java-api https://github.com/OfficeDev/ews-java-api and also tried using JEC - Java exhange connector. http://elich11.freeshell.org/index.html If a company have 100 to 500…
Chrizzy
  • 1
  • 2
0
votes
2 answers

Attachments missing on the EWS server for draft email saved via Outlook OfficeJS

I am using the Office.context.mailbox.item.saveAsync method for saving a draft email. This method returns itemId which I later use to make a call to the EWS server to retrieve the email eml content, but the returned eml content is missing some of…
CL_3000
  • 71
  • 1
  • 4
0
votes
1 answer

Does deleting an item from mailbox permanently using (shift+delete) will delete the extendedProperty attached to that item in exchange

We have created items with extendedProperty but we didn't create the extendedProperty the right way, We are looking for ways to clean up those extendedProperties ..so we are wondering if deleting the items permanently from mail box using…
0
votes
1 answer

How to retrieve the extendedProperties associated with emails in the sent folder from exchange

We have created extendedProperties on emails using val uId = getUniqueId(); val emailExtendedPropDef = new ExtendedPropertyDefinition(uId,"uniqueId", MapiPropertyType.String) try { email.setExtendedProperty(emailExtendedPropDef,…
user2359997
  • 561
  • 1
  • 16
  • 40
0
votes
1 answer

Invalid Named Property

We call the microsoft exchange to set the extended property which in our case is an unique guid microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: An internal server error occurred. The operation failed.,…
user2359997
  • 561
  • 1
  • 16
  • 40
0
votes
0 answers

EWS read And returnMail with Attachments

Ews I am doing mail reading and I want to return mail attachments. I want the frontend to list the attachments and I want them to be downloaded when clicked. So what should I return? public List readEmailItem(ItemId itemId) { …
0
votes
0 answers

EWS java api filter emails for alias email

I am using ews-java-api I need to filter the emails using alias emails. I mean, i have a mail account a@b.com and also a alias email b@b.com for this account. Now user can send email to b@b.com and this emails comes to index of a@b.com, Now i need…
Baba
  • 311
  • 1
  • 2
  • 12
0
votes
1 answer

Using java-ews-api and office 2013 - The Autodiscover service couldn't be located

I am trying to connect with this code and others similar that I have taken from the getting started guide and no matter what I do I keep getting the error: The Autodiscover service couldn't be located. I cannot seem to find or resolve…
paul
  • 135
  • 1
  • 10
0
votes
1 answer

How to get Task startdate and due date using EWS java API

I am trying to fetch task details from Microsoft Exchange Server using following code public List readTask() throws Exception{ //Create the extended property definition. try { Task t=new Task(service); ExtendedPropertyDefinition…
Mohit Mehral
  • 307
  • 1
  • 3
  • 9
0
votes
1 answer

How to read task using EWSJavaAPI?

I am using an EWSJavaAPI for creating task in Exchange Server but i am not getting any reference to fetch task using the same api. Below is my code add task: Task t=new Task(service); t.setSubject("Task to test in JAVA"); …
0
votes
1 answer

Java EWS- how to identify if attachment is sender signature image

I need to identify if an attachment is signature image of the sender and ignore it as I want to skip that kind of attachments, but I'm not able to identify if that particular attachment is signature image. Or can a user add a custom property while…
Lucky
  • 783
  • 2
  • 10
  • 28
0
votes
0 answers

ews-javascript-api Find Items does not return anything

I'm using ews-javascript-api to connect to outlook exchange and read mails. I need to download the attachment. However, when I run the FindItems query, it returns with 0 items. var ews = require('ews-javascript-api'); var ExchangeService =…
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
0
votes
0 answers

EWS Java- How to identify if file attachment is password protected?

I'm trying to validate the attachment is password protected or not, is there a property that I can check. I don't want to process the attachment if it's password protected. Below is the code I tried: FileAttachment fileAttachment =…
Lucky
  • 783
  • 2
  • 10
  • 28
0
votes
1 answer

EWS Java API ItemView change default orderBy value

I'm using the EWS Java API 2.0 in order to fetch items from a mailbox. Simply I need to know the Java equivalant of following C# code snippet. ItemView view = new ItemView(50); view.OrderBy.Add(ItemSchema.DateTimeReceived,…
Asanka sanjaya
  • 1,461
  • 3
  • 17
  • 35
0
votes
1 answer

How to get contact's photo from exchange server

Based on this tutorial, I'm trying to get contacts photos private String createPhoto() { try { AttachmentCollection attachments = contact.getAttachments(); for (Attachment attachment : attachments.getItems()) { if…
Maja
  • 17
  • 1
  • 6