Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Tim Pei
@timpei
I'm trying to set the Reply-To header of the email following Glen from this SO post: https://stackoverflow.com/questions/35988918/set-reply-to-address-in-outgoing-email-ews
Girish Ghoda
@girishghoda57

@philipwhiuk we read your comment on OfficeDev/ews-java-api#692 "If I don't get any feedback by November, I'll probably just create the org and start this process."

Can this issue OfficeDev/ews-java-api#713 not fix immediately? Our work stuck on the conversation API.

Philip Whitehouse
@philipwhiuk
  1. I don’t work for Microsoft at all - any EWS work I do is a hobby.
  2. Even if I did spend time to fix it for you nobody could merge it or release it.
If you’re actually blocked on it for a customer I suggest you fork the library and make the fixes yourself.
Girish Ghoda
@girishghoda57
@philipwhiuk thank you for quick answer. Actually we didn't know that you do not work for Microsoft so I mentioned you in every question.
Philip Whitehouse
@philipwhiuk
My understanding is @MIchaelMainer who commented on #661 here: https://github.com/OfficeDev/ews-java-api/issues/661#issuecomment-407595656 is the only Microsoft employee who has looked at the repo in the last 18 months or so.
Girish Ghoda
@girishghoda57
Ok thank you for help @philipwhiuk.
kirit7037
@kirit7037
Hi everyone, I'm trying to access other users' calendar by delegate access. but it giving some error but when I assign product license to my account it works fine but without product license, I'm not able to book meeting using EWS API
Girish Ghoda
@girishghoda57

Any help on this error:
List of possible elements expected: 'SortOrder, ParentFolderId' in namespace 'http://schemas.microsoft.com/exchange/services/2006/messages'.

SearchFilter.IsEqualTo idFilter =
new SearchFilter.IsEqualTo(ConversationSchema.Id, conversationId);
FindConversationRequest request = new FindConversationRequest(exchangeService);
request.setIndexedItemView(new ConversationIndexedItemView(1, 0, OffsetBasePoint.Beginning));
request.setConversationViewFilter(idFilter);
request.setFolderId(new FolderIdWrapper(folderId));
Collection<Conversation> singleConversation = request.execute().getConversations();

Girish Ghoda
@girishghoda57
Any help on above issue?
Girish Ghoda
@girishghoda57
Can any one answer that search filter is support in findconversation method in ews-java-api?
Its threw exception every time. I want to fetch conversation by id so I set SearchFilter.IsEqualTo(ConversationSchema.Id, conversationId); but got exception "has invalid child element 'Restriction' in namespace".
@pkropachev any suggestion?
Girish Ghoda
@girishghoda57
I think restriction not supported for conversation requests. I resolve OfficeDev/ews-java-api#713 but now I want find a conversation by id. So any suggestion or a hint for that I really need help. (Stuck from last week).
@philipwhiuk any suggestion?
gowtham b
@bvgpon_twitter

Hi all

Will EWS JAVA API work after Basic Authentication decommission?

https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Upcoming-changes-to-Exchange-Web-Services-EWS-API-for-Office-365/ba-p/608055

Also, can someone please let me know on how to authenticate with OAuth 2.0 for Exchange online servers (myexchangedomain.com).

gowtham b
@bvgpon_twitter
Also, can someone tell me difference btw Outlook Office365, Exchange online and on-premise Exchange.
gowtham b
@bvgpon_twitter
@pkropachev @philipwhiuk
Philip Whitehouse
@philipwhiuk
I’ve only very briefly used this library. I was trying to build an open source Android app that could use EWS to communicate with Office 365 and benefit from the additional functionality that allowed. I didn’t get very far beyond fixing the library so it actually built because I ended up moving away from Android entirely. I believe I did see none Basic Auth when I looked at the code but I don’t recall precisely. I’m afraid you’ll have to look into the code itself and work it out yourself, probably a tonne of trial and error.
In terms of the types of Exchange - it changes how much you can configure Exchange and how it gets updates - with on premises you’ll have almost complete control - with Office 365 you have near none. With Exchange Online you can enable per business config like custom Auth but it’ll be using the latest version so be affected by the deprecation above I guess.
If you have a long term need for the library I suggest improving the docs to help yourself and other contributors.
gowtham b
@bvgpon_twitter
@philipwhiuk Thanks
gowtham b
@bvgpon_twitter
@pkropachev Your inputs on this... please.. @bvgpon_twitter
Vicheth SIM
@vichethsim_twitter

Hi ,
When we send messages, the disclaimer defined in Mail flow rule will always be at the bottom of the entire body content, the original content will also be considered as part of body content.
It there feasible to take the disclaimer to the bottom of the most recent content?
This is very important for most users and customers if could help. Thanks

Regards,

This is about Office 365 exchange admin, mail flow “Organization Disclaimer in office 365 “
lokeshk307
@lokeshk307
What is the daily limit for ews java api to make calls?
Pavel Kropachev
@pkropachev
@lokeshk307
EWS Java API as the library doesn't have any limits for requests. Check Exchange (on-premises and online) throttling policy.
https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/ews-throttling-in-exchange
Girish Ghoda
@girishghoda57
Hi all, we faced this exception "Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[368,6] Message: Character reference ""&# "
I got this because of invalid characters in the subject. Can anyone have a solution or any suggestion on this?
pvdinh226
@pvdinh226
I have use script code java to connect exchange online, but it not working
Please help me
public static class RedirectionUrlCallback implements IAutodiscoverRedirectionUrl {
public boolean autodiscoverRedirectionUrlValidationCallback(String redirectionUrl) {
return redirectionUrl.toLowerCase().startsWith("https://");
}
}
public static ExchangeService connectViaExchangeAutodiscover(String email, String password) {
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    try {

        service.setCredentials(new WebCredentials(email, password));
        service.autodiscoverUrl(email, new RedirectionUrlCallback());
        service.setTraceEnabled(true);
        Folder inbox = Folder.bind(service, WellKnownFolderName.Inbox);
        System.out.println("messages: " + inbox.getTotalCount());
    }
    catch (Exception e){
        e.printStackTrace();
    }
    return service;
}
remote server return error (401) Unauthorized
maheshcvd
@maheshcvd
@girishghoda57 have you got any solution for this Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[368,6] Message: Character reference ""&# "
2 replies
Hi can someone help me to connect shared mail box .
Philip Whitehouse
@philipwhiuk
alokob
@alokob
Hello All , can someone help me understand how to handle throttling while using ews-java-api , I found that it does not return http status code 429
Girish Ghoda
@girishghoda57
@alokob ews returns the exception like this for throttling/busy server "microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The server cannot service this request right now. Try again later. & The server cannot service this request right now. Try again later. Error details: {"result":"Error","errorCode":"ErrorServerBusy","errorMessage":"The server cannot service this request right now. Try again later.","errorDetails":{"BackOffMilliseconds":"299791"},"errorProperties":[]}"
RAJIL
@sajila
How to fix / add microsoft.exchange.websrevices. package missing in java web project ?
Girish Ghoda
@girishghoda57
Anyone here has getConversationItems code in ews-java-api? Please share if you has.
Cacus3
@Cacus3
how get attachement from mail ?
i trying to this but meybe i can do this wrong?
can i somehow sent Mailid from outlook and get this mail on java side and get attachments from there? plz help me :)
Imran
@imranrajjad
hi, is it possible to send email with Voting option? and also read the response of the same email with voting option selected by recipients?
moocstudent
@moocstudent
just finished my reference ews-java-api work
moocstudent
@moocstudent
@Cacus3 reply you a resolution
@pvdinh226 the 401 is your email credentials error
Kishan Galgotra
@Kishangalgotra
Am having this error while trying to connect via EWS : remote server return error (401) Unauthorized
plz help
@praseodym : can you help me sir
@vboctor : can you sir ?
moocstudent
@moocstudent
@Kishangalgotra 401 Unauthorized is wrong email credentials,or wrong email type like not outlook server email