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

Access office 365 group using ews api

I am trying to access office 365 groups using ews java api using impersonation. I am getting error: The SMTP address has no mailbox associated with it. Code: ExchangeCredentials credentials = new WebCredentials("admin@xxxx.onmicrosoft.com",…
1
vote
0 answers

Inline images other than small ones not appearing on Outlook Web Client

I need to send Inline images in the body of my automatic reply mail , but I noticed that any image larger than 15Kb is failing to render in the Outlook Webclient. The images are url encoded in base64 and the body of the mail is sent as a HTML file. …
1
vote
2 answers

Properties analogous to IMAP flags in ews-java-api

I am working on application, which need to be refactored from using Java Mail API (with IMAP) to Exchange Web Services (EWS). I decided to use ews-java-api. To recreate existing business logic, I need to use some kind of equivalent for IMAP flags,…
Nevaan
  • 129
  • 2
  • 11
1
vote
1 answer

EWS UserConfiguration class to EWS-JS API

I need to know if any of the EWS-JS API(e.g https://github.com/gautamsi/ews-javascript-api) supports EWS UserConfiguration object and its Update method to update OWA Signature. Here is EWS+ PowerShell code, which I need to convert to EWS JS API, and…
Laeeq Qazi
  • 43
  • 1
  • 6
1
vote
0 answers

EWS java - Specify the time zone when instantiate the ExchangeService object?

I'm using ews-java-api-2.0.jar in my project. I want to specify EST zone. How this can be done in java api? Something like this. ExchangeService service = new ExchangeService(TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"));
Lucky
  • 783
  • 2
  • 10
  • 28
1
vote
1 answer

EWS java check if email is encrypted

I'm trying to figure out if there is a way to check if the email or part of email is encrypted so that I can return the email. According to this link. https://technet.microsoft.com/en-us/library/dn569286.aspx The different types of email encryption…
Lucky
  • 783
  • 2
  • 10
  • 28
1
vote
1 answer

start & stop RESTful service from Java Application

This is a question about implementing a RESTful listener service, but I will provide some background first to provide context. I have a existing java application & swing UI which takes a directory and database file as input. After these are set a…
1
vote
0 answers

EWS-JAVA-API Self signed certificate for Exchange Server 2010

i´am using ews-java-api and i need to use self-signed certificate to communicate with exchange-server, which is in same network like me. Which name for self-signed certificate i should use to match with exchange server 2010 entry ? it is…
Roma Kap
  • 517
  • 1
  • 8
  • 23
1
vote
1 answer

Exchange Web Service Search for Custom folder name

I need to find the folder named "Archived", which will be at the parent level, NOT A SUBFOLDER. If the "Archived" folder is a subfolder, I don't want that to return in the result set. This is what I have coded, but this returns the sub folders as…
Lucky
  • 783
  • 2
  • 10
  • 28
1
vote
2 answers

listen for new email on exchange

I am trying to use the ews-java API to connect to my inbox and listen for new emails. I seem to be able to connect just fine, and I am copying code from the examples on github…
Doug Greaney
  • 181
  • 3
  • 17
1
vote
1 answer

Is it possible to be a delegate with create, update and delete own permissions but not read in exchange 2010

I have a service account that I want to be able to access another users calendar through the ews api in such a way that it can create appointments, update appointments they have created and delete appointments they have created but NOT be able to…
1
vote
1 answer

How do I identify the recipient email using ews-java-api if the address is an alias?

I'm working with the ews-java-api, which I'm using to process incoming emails to specific Exchange accounts, so that I can extract out key information from the email (ie, subject, body, recipient, sender, etc) to forward on to another system through…
spye
  • 21
  • 3
1
vote
0 answers

EWS: Get attendants' response for calendar events - "unknown", workarounds?

I have a Java application which tries pulling down calendar events from the Exchange Web Services. Everything is working pretty fine, but Attendee.getResponseType() always returns "unknown". In other threads, I've seen that this occurs because I'm…
Scorchio
  • 2,763
  • 2
  • 20
  • 28
1
vote
0 answers

How to get the only contacts list names from EWS java API?

I have tried to fetch contacts for Office365. But both contacts list names and contacts getting in the same result. How can i get the contacts list names and contacts separately. My Code: Folder folder = Folder.bind(service,…
Prem Tammina
  • 13
  • 1
  • 6
1
vote
0 answers

Java Microsoft exchange web service fails to respond

I am using following code to connect to exchange web services. ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2); String username = "mydomain\\username"; String password = "mypassword"; String…
Mahesh
  • 611
  • 9
  • 16