exchangewebservices

Slow search for items using extended property on Exchange

南楼画角 提交于 2019-12-03 14:58:51
Problem at hand Our C# Windows application uses EWS Managed API 2.0 to create appointments in a user's calendar. Each appointment has an extended property with a unique value. It later locates an appointment using FindItems and an ItemView . Users experience significant delays the first time this search is performed. Subsequent response times are entirely acceptable. ("first time" is a little vague here, because users may experience the delay again later in the day) // locate ID of appointment where extended property value equals 1234: var filter = new Ews.SearchFilter.IsEqualTo

Using EWS Managed API to create appointments for other users?

不想你离开。 提交于 2019-12-03 12:36:49
In EWS Managed API is it easy to create an appointment for a specific user: ExchangeService service = new ExchangeService(); service.Credentials = new NetworkCredentials ( "administrator", "password", "domain" ); service.AutodiscoverUrl(emailAddress); Appointment appointment = new Appointment(service); appointment.Subject = "Testing"; appointment.Start = DateTime.Now; appointment.End = appointment.Start.AddHours(1); appointment.Save(); This will create a appointment for the administrator. But say I wanted to actually create an appointment for another user (not add that user as an attendee to

Request Exchange Web Services 2007/2010 with SOAP+XML over HTTPS in Android

…衆ロ難τιáo~ 提交于 2019-12-03 07:45:13
I used the following C# code from Microsoft to request EWS 2010 MSDN link and it worked. I need the same solution for android. I tried to use the following code but it does not help DefaultHttpClient client = new HttpsClient( MyActivity.this); requestBytes = myXMLStringRequest.getBytes("UTF-8"); HttpPost httpPost = new HttpPost(url); httpPost.setHeader("Content-Type", "text/xml;utf-8"); if (requestBytes != null) { httpPost.setHeader("Content-length", String.valueOf(requestBytes.length)); Log.d(TAG, "content length: " + requestBytes.length); } client.getCredentialsProvider().setCredentials( new

Exchange Server 2007 Web Services PHP Class

二次信任 提交于 2019-12-03 06:25:43
问题 Does anyone know of an open source PHP class (preferably BSD or MIT license) that will interface with the MS Exchange Server 2007 Web Services via. SOAP? I am looking for a higher level class that has functionality for sending messages via. the web service. 回答1: I had this same problem, so I started building something, here: https://github.com/rileydutton/Exchange-Web-Services-for-PHP It doesn't do much yet (basically just lets you get a list of email messages from the server, and send email)

How to get email body, receipt, sender and CC info using EWS?

房东的猫 提交于 2019-12-03 04:52:11
问题 Can anyone tell me how to get an email body, receipt, sender, CC info using Exchange Web Service API? I only know how to get subject. ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); service.Credentials = new NetworkCredential("user", "password", "domain"); service.Url = new Uri("https://208.243.49.20/ews/exchange.asmx"); ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true; FindItemsResults<Item>

Exchange Server 2007 Web Services PHP Class

久未见 提交于 2019-12-02 19:51:51
Does anyone know of an open source PHP class (preferably BSD or MIT license) that will interface with the MS Exchange Server 2007 Web Services via. SOAP? I am looking for a higher level class that has functionality for sending messages via. the web service. I had this same problem, so I started building something, here: https://github.com/rileydutton/Exchange-Web-Services-for-PHP It doesn't do much yet (basically just lets you get a list of email messages from the server, and send email), but it would be good enough to use as a basic starting point for doing some more complicated things. I

Exchange Web Services on Android, error

杀马特。学长 韩版系。学妹 提交于 2019-12-02 18:11:55
问题 I'm trying to implement and use Exchange Web Services on Android. I found this post and I proceed the same way by installing the Microsoft's EWS API JAVA: http://stackoverflow.com/questions/7476055/use-exchange-web-services-on-android I wrote and executed a simple sample that sends a message. But I obtained this error: java.lang.VerifyError: microsoft.exchange.webservices.data.ExchangeServiceBase May anybody help me? Is there any sample anybody might share? Thanks! This is the sample: package

How to get email body, receipt, sender and CC info using EWS?

独自空忆成欢 提交于 2019-12-02 18:06:19
Can anyone tell me how to get an email body, receipt, sender, CC info using Exchange Web Service API? I only know how to get subject. ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); service.Credentials = new NetworkCredential("user", "password", "domain"); service.Url = new Uri("https://208.243.49.20/ews/exchange.asmx"); ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true; FindItemsResults<Item> findResults = service.FindItems( WellKnownFolderName.Inbox, new ItemView(10)); foreach (Item item in findResults

gSoap EWS “Error 500: Internal Server Error”

戏子无情 提交于 2019-12-02 17:45:55
问题 I have some problems with ews(gSoap). I have next code: ExchangeServiceBindingProxy *proxy = new ExchangeServiceBindingProxy(endpoint.c_str()); soap *pSoap = proxy->soap; pSoap->userid = "Ivan1"; pSoap->passwd = "1"; pSoap->ntlm_challenge = ""; pSoap->authrealm = "Ursa-Minor"; pSoap->ssl_flags = SOAP_SSL_NO_AUTHENTICATION; pSoap->keep_alive = true; pSoap->mode = SOAP_IO_KEEPALIVE; //get root folder ID ns3__DistinguishedFolderIdType *dfit = new ns3__DistinguishedFolderIdType(); dfit->Id = ns3_

Create appointment with custom properties in EWS

假装没事ソ 提交于 2019-12-02 17:16:10
问题 I try to add a custom property to created appointments like this: var newEvent = new Appointment(service) { Start = start, End = end, Subject = subject, ReminderMinutesBeforeStart = 15 }; var extendendProperty = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, "organizer", MapiPropertyType.String); newEvent.SetExtendedProperty(extendendProperty, organizer); but problem is that when I try get this appointment from server, property ExtendedProperty is empty. In addition I