exchangewebservices

Get calendar events by OutlookServicesClient

老子叫甜甜 提交于 2019-12-11 10:13:49
问题 I have the same issue reported in this thread Office365 REST v1.0 API calendar does not return recurrences The answer says to use https://outlook.office365.com/api/v1.0/Me/CalendarView instead of https://outlook.office365.com/api/v1.0/Me/Events to get all events (including ocurrences of series) My problem is that I'm using the OutlookServicesClient to call de O365 API. This is how I call the ".../events": var eventsResults = await (from i in outlookServicesClient.Me.Events where i.Start >=

EWS The required attribute 'Traversal' is missing

倖福魔咒の 提交于 2019-12-11 09:48:33
问题 I have a problem whit EWS ( Exchange Webservice ) I send an request for FindFolders <?xml version="1.0"?> <soap12:Envelope xmlns:soap12="http://schemas.xmlsoap.org/soap/envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:M="http://schemas.microsoft.com/exchange/services/2006/messages" soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:T="http://schemas

How to send email via a Shared MailBox using Exchange Web Services (EWS) API

半腔热情 提交于 2019-12-11 08:58:02
问题 I'm sending emails via a shared mailbox using the MS Exchange Web Services API. Sending emails works but they are not saved in the sent items. As shown below doing it manually works, the items are saved in the Sent Items, but via my code doesn't save them: using Microsoft.Exchange.WebServices.Data; using System; //Ref to Microsoft.Exchange.WebServices v15 //Re to Microsoft.Exchange.WebServices.Auth v15 namespace Emailing { public class Email { private string _sharedOutlookMailAccount =

gSoap Exchange Web Services Connection

时间秒杀一切 提交于 2019-12-11 08:37:42
问题 I'm trying to write an application that would work with the EWS proxy classes. To generate proxy classes I used gsoap (compiled OpenSSL). I have implemented a library that works with EWS, but. Net. The problem is this: I have no idea how to implement a connection to the server. Doing the following: ExchangeServiceBindingProxy *proxy = new ExchangeServiceBindingProxy("https://192.168.0.49/EWS/exchange.asmx"); soap *pSoap = proxy->soap; pSoap->userid = "user1"; pSoap->passwd = "password1";

EWS managed api : Is there a way to identify if an email or attachment is encrypted?

孤人 提交于 2019-12-11 08:15:52
问题 Does EWS managed api expose any property to identify whether an item( email/attachment) is encrypted? 回答1: var isEmailOpaqueSignedOrEncrypted = false; if (email.ItemClass == "IPM.Note.SMIME") { var attList = email.Attachments.ToList(); if (attList.Count == 1) { isEmailOpaqueSignedOrEncrypted = true; } }; 来源: https://stackoverflow.com/questions/26486144/ews-managed-api-is-there-a-way-to-identify-if-an-email-or-attachment-is-encryp

Using Microsoft's EWS to create online Lync/Skype meeting

霸气de小男生 提交于 2019-12-11 08:15:10
问题 Anybody knows how to create meeting request with online conference(Lync/Skype) using EWS? So my approach is first getting an online and regular meeting created via Outlook and then simulate the creation of event with the same property. Here is my code snippet for getting the meeting ( calendarView is already initialized with start date, end date etc.): ExtendedPropertyDefinition extendedOnlineMeetingProperty = new ExtendedPropertyDefinition(new Guid("{00062008-0000-0000-c000-000000000046}"),

Message body changes after updating EmailMessage

坚强是说给别人听的谎言 提交于 2019-12-11 07:57:10
问题 My target is to load an email message and if it's a new one mark it as read. So here is what I am doing: EmailMessage email=EmailMessage.bind(service,itemId); email.load(); email.setSubject(GeneralUtils.replaceSpecialCharacters(email.getSubject())); email.setBody(MessageBody.getMessageBodyFromText(GeneralUtils.replaceSpecialCharacters(email.getBody().toString()))); if(!email.getIsRead()){ email.setIsRead(true); email.update(ConflictResolutionMode.AutoResolve); } ISSUE: When reading the

Incorrect time zone displayed in Outlook after updating a calendar event through EWS

主宰稳场 提交于 2019-12-11 07:57:01
问题 I'm having an issue with time zones when updating an appointment. Step 1, create a single event, works fine First I create a single event, running from 10:00 to 11:00 local time (Amsterdam DST, so UTC+2). My Exchange server 2010 (SP2) knows the "W. Europe Standard Time" timezone. No issue there, here's the event in Outlook 2007: This is the XML that creates the event: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.microsoft.com/exchange

EWS Digitally signed emails have empty body after upgrade from Exchange 2007 SP1 to Exchange 2013

回眸只為那壹抹淺笑 提交于 2019-12-11 07:54:58
问题 we have a problem with upgrade from Exchange 2007 SP1 to Exchange 2013. We are using ews to get emails from specific folder. Code looks like this: private List<Item> GetAllItems(string folderId) { Folder inbox = Folder.Bind(m_Exchange, folderId); List<Item> m_ListOfItems = new List<Item>(); ItemView itemView = new ItemView(int.MaxValue); FindItemsResults<Item> items = inbox.FindItems(itemView); foreach (Item item in items) { item.Load(); m_ListOfItems.Add(item); } return m_ListOfItems; } Our

invite attendees to public calendar event in exchange web services

痞子三分冷 提交于 2019-12-11 07:48:02
问题 Obviously in outlook, one is able to create an appointment in a public folder and invite people (including yourself) - i want to replicate this with exchange web services. i can create an event in my own calendar and invite people and that works fine. if i create an event in a public folder and invite people, in the createitem object the SendMeetingInvitationsOrCancellations must be set to SendToNone , otherwise it throws this error: Meeting invitations or cancellations cannot be sent for