exchangewebservices

Office 365 EWS does not return X-BackendOverrideCookie

假如想象 提交于 2020-01-23 10:51:27
问题 Office 365 does not return the X-BackendOverrideCookie in response headers. I set the X-AnchorMailbox and X-PreferServerAffinity in the request headers properly. This does not trigger X-BackendOverrideCookie to be returned, as it says in MSDN. Why is this happening? Meanwhile, I tried the same thing with an on-premise Exchange 2016. Here I don't even set the X-AnchorMailbox and X-PreferServerAffinity and I get back the X-BackendOverrideCookie in each response. This is not good either, since I

Office 365 EWS does not return X-BackendOverrideCookie

左心房为你撑大大i 提交于 2020-01-23 10:51:10
问题 Office 365 does not return the X-BackendOverrideCookie in response headers. I set the X-AnchorMailbox and X-PreferServerAffinity in the request headers properly. This does not trigger X-BackendOverrideCookie to be returned, as it says in MSDN. Why is this happening? Meanwhile, I tried the same thing with an on-premise Exchange 2016. Here I don't even set the X-AnchorMailbox and X-PreferServerAffinity and I get back the X-BackendOverrideCookie in each response. This is not good either, since I

Fetching emails for a specific date in c# using Exchange Web Services

血红的双手。 提交于 2020-01-23 05:48:06
问题 I am able to fetch emails from a mailbox based on a subject. I am not sure what the format for fetching emails based on the received date? string message = string.Empty; Item item = Item.Bind(exService, messageID, PropertySet.FirstClassProperties); if (item is EmailMessage) { EmailMessage em = (EmailMessage)item; string strMsg = string.Empty; //strMsg = strMsg + item.Id.ToString(); //strMsg = strMsg + item.DateTimeReceived; strMsg = strMsg + "*********************** New Fiscal Email received

Getting error code `ErrorIrresolvableConflict` responses when trying to create events on a calendar using Outlook REST API

荒凉一梦 提交于 2020-01-19 21:36:30
问题 In the last few days (starting on Oct 28, 2019), without any code change on our part, we've started seeing a significant amount of requests from our server to create events on a calendar (using this endpoint: https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/calendar-rest-operations#CreateAnEvent) returning an error. Error is: ErrorIrresolvableConflict , with the error message: The send or update operation could not be performed because the change key

Error while sending mails using EWSJavaAPI

梦想与她 提交于 2020-01-15 12:48:09
问题 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(); ExchangeCredentials credentials = new WebCredentials("username","password"); service.setCredentials(credentials); try { service.setUrl(new URI("host/ews/Exchange.asmx")); service.setTraceEnabled(true); EmailMessage msg = new EmailMessage(service); msg.setSubject(

EWS Managed API - Save Draft with inline Images

守給你的承諾、 提交于 2020-01-15 06:07:46
问题 I am trying to create emails for my users using EWS Managed API 1.1, and need to use email templates our designers have created. I was able to successfully attach image ( say header.png ) and add an image tag like this ( using cid: before the image name ) in the html body. <img width=683 height=27 src="cid:header.png" alt="Header"> This works when I use msg.SendAndSaveCopy() method. It renders perfectly fine in both Sent Mail folder and the recipients inbox. However it is not working when I

EWS API Delegate List

。_饼干妹妹 提交于 2020-01-15 06:05:41
问题 I'm trying to find a way to get the list of people that I'm a delegate for using the EWS API. I can create and view appointments for the people I'm a delegate for, I just need a way to get the list of who I am a delegate for. Thanks, Jason 回答1: Your Exchange system administrator can tell you - you can't query EWS for this. 来源: https://stackoverflow.com/questions/7922408/ews-api-delegate-list

EWS Managed API - How to copy items from one mailbox to other

只愿长相守 提交于 2020-01-14 14:39:31
问题 I am writing an application(C#) to sync contacts,appointments,tasks etc from one mailbox to other. I am able to retrieve changes to these items using SyncFolderItems but could not find a way to copy the changes to a different mailbox. It looks like I have to create a new item for each of these types on the destination mailbox. If that is the case how do I get all the properties on the source item onto the new item on the destination. I am currently using exchange 2007 sp1 environment and want

SSL: CERTIFICATE_VERIFY_FAILED when connecting to a company Exchange Server

雨燕双飞 提交于 2020-01-14 04:08:46
问题 I try to send mails from out company exchange server via Python. My problem is, that I get a SSL error. I read a lot of pem-, cer-, crt-files, but I can not connect all these information to have success. I am sure, that if one can fix the issue in my little example script, one could fix the exchange script, too. I read a lot about certificates and ca_bundles, but I don't know how to apply all of that to my issue. Example-Script : import requests requests.get('https://mail.ourserver.loc')

read email using exchange web services

本秂侑毒 提交于 2020-01-11 02:07:25
问题 This is my scenario: I have to read email from exchange 2010 sp2 accounts. I have to use Exchange Web Services, POP3 and IMAP are blocked. I have to test my app in an environment where people can access their accounts through a web browser only in the intranet. I can't debug my app directly to this intranet. I have this snippet to access an account: private void Dowork() { ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2); string dominio = "domain"; string