exchangewebservices

Windows Embedded CE 6.00 cannot .run Net compact Framework 3.5 application

*爱你&永不变心* 提交于 2019-12-11 01:34:39
问题 First of all, i have a device with Windows Embedded CE 6.0. As we know, EWS Managed API can only be used on .NET Framework 3.5 and above. I created a new project ->Smart Device Project -> Target Platform: Window CE .NET Compact Framework Version: .NET Compact Framework Version 3.5 Templates: Device Application Then i tried to use EWS API library to write a program to send email from server to my email but there is an error. Error 1 The type 'System.TimeZoneInfo' is defined in an assembly that

How to get all contacts in Exchange Web Service (not just the first few hundreds)

丶灬走出姿态 提交于 2019-12-11 01:17:07
问题 I'm using Exchange Web Service to iterate through the contacts like this: ItemView view = new ItemView(500); view.PropertySet = new PropertySet(BasePropertySet.IdOnly, ContactSchema.DisplayName); FindItemsResults<Item> findResults = _service.FindItems(WellKnownFolderName.Contacts, view); foreach (Contact item in findResults.Items) { [...] } Now this restricts the result set to the first 500 contacts - how do I get the next 500? Is there some kind of paging possible? Of course I could set 1000

How to fix unresolved types when importing Exchange Web Services (EWS) wsdl file?

删除回忆录丶 提交于 2019-12-10 20:41:45
问题 When importing the wsdl file from https://ourmail.server/ews/services.wsdl, I initially got a ton of "The following types, referred to in the WSDL document are not being represented in this file" in the generated services.pas. I then downloaded the wdsl file to disk, saw that it referenced http://schemas.microsoft.com/exchange/services/2006/messages and http://schemas.microsoft.com/exchange/services/2006/types, downloaded https://ourmail.server/ews/types.xsd and https://ourmail.server/ews

Identify item type when handling event in Exchange Web Services (EWS)

冷暖自知 提交于 2019-12-10 18:33:01
问题 I'm using streaming notifications with the EWS API. On the event handler I pick up the fact that an item has been modified, but my attempt to bind the modified item to an email message fails. The error message is specifically The item type returned by the service (Appointment) isn't compatible with the requested item type (EmailMessage). It seems like there must be a way to identify the item type before attempting to bind it, but I'm not sure what that is. The error occurs on attempting to

Exchange Web Service find EmailMessage by “Message-ID” header

☆樱花仙子☆ 提交于 2019-12-10 17:56:26
问题 I'm using the Java EWS library and try to reply to some messages. The main question is - how to find EmailMessage in folder or in mailbox if I only know value of "Message-ID" header of my message. I try to do something like this: ExtendedPropertyDefinition p = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.InternetHeaders, "Message-ID", MapiPropertyType.String) myfolder.findItems(new SearchFilter.IsEqualTo(p, "<1031208507.471.1446200157453.JavaMail.test>"), new ItemView(1)) But

Using exchange web services to get the required attendees of a calendaritem? c#

人盡茶涼 提交于 2019-12-10 17:43:00
问题 I am trying to get the required attendees of a meeting which I got using the exchange web service. Any ideas? I think I need to use CalendarItemType, but I'm not sure how to implement it. Here is my code so far: foreach (var wrk in Workers) { TimeWindow timeWindow = new TimeWindow(startDate, endDate); AvailabilityData requestedData = AvailabilityData.FreeBusy; List<AttendeeInfo> attendees = new List<AttendeeInfo>(); attendees.Add(new AttendeeInfo(wrk.EmailAddress)); GetUserAvailabilityResults

Why is the get action of cfexchangemail never returning?

时光毁灭记忆、已成空白 提交于 2019-12-10 17:31:36
问题 We are running Coldfusion 9.0.1 and have successfully used cfexchangemail to retrieve email for a number of years. Within the last few days the calls for some users never return. This leads to ColdFusion stacking up active requests which eventually leads to no response for any request. For other users the calls work successfully. This is the call: <cfexchangemail action="get" folder="Inbox " name="weeksMail" connection="testconn1"> <cfexchangefilter name="maxRows" value=4> </cfexchangemail>

Why does EWS Managed API SyncFolderItems not return recurring appointments

你说的曾经没有我的故事 提交于 2019-12-10 16:48:48
问题 I'm using the managed API of EWS to synchronize a scheduling application with exchange calendars. I get all normal meetings fine, but I am not getting any repeating/recurring appointments. My code follows: itemChangeCollection = _service.SyncFolderItems( new FolderId(WellKnownFolderName.Calendar, new Mailbox(Email)), propertySet, null, Settings.Default.ExchangeSyncFetchCount, SyncFolderItemsScope.NormalItems, syncState); What do I need to change to see the recurring appointments as well? 回答1:

Approve email message via exchange EWS API

冷暖自知 提交于 2019-12-10 14:03:50
问题 I have a situation where I would need to re-route messages to a different mailbox who would be the moderator. Programmatically - is there a way to approve the message I get in the moderator's mailbox? I dont see explicit support in EWS for it. Does any other API type that microsoft has support this? 回答1: This is not an official approved way but the following workaround worked for me to approve and reject messages in the moderator's mailbox! Below is a Powershell code that does the job! Things

Exchange ItemID differs from GlobalAppointmentID for Outlook AddIn

早过忘川 提交于 2019-12-10 13:47:08
问题 The problem I'm having is that the GlobalAppointmentID of a Outlook Appointement created using a Outlook FormRegion differs from that of the ItemID when using EWS Managed API. I'm creating an Outlook addIn that allows users to add customer and project information to a meeting. The addIn also stores the appointment ID and meeting data in a database and a service will periodically check the ID to update the appointment data. Ok so here is how I use the AddIn: Outlook.AppointmentItem