exchange-server

Exchange Appointment Types

只谈情不闲聊 提交于 2019-12-23 10:07:36
问题 I use the following code to save an appointment via Exchange Web Services Managed API: Appointment appointment = new Appointment(m_exchangeService); appointment.Subject = subject; appointment.Body = body; appointment.Start = start; appointment.End = end; appointment.Save(); When I do this the Appointment is created as a 'meeting' in Outlook. But I just want to have it as normal Appointment not a meeting. How do i do this? 回答1: I found an answer. The following code creates a normal nonmeeting

Programmatically add/edit exchange2010 account

我们两清 提交于 2019-12-23 05:41:40
问题 You have to know this is the first time I am working with exchange. I have to create a program to add/edit account on exchange 2010. I know there's a lot of answer about this topic on the internet, but I did not find any recent complete tutorial that explain how to do it from scratch (all the complete step). I want to create a c# OR vb (.NET) program (window's client, or web, or whatever) with this functionality : Add a new exchange 2010 email account List existing account Edit existing

Microsoft Web Addins “Office.context.mailbox.getCallbackTokenAsync” returns response “Failed” on my Exchange 2016 but works in office 365 online

ぐ巨炮叔叔 提交于 2019-12-23 04:40:43
问题 We have exchange 2016 sever which we have updated to CU-12 recently because we thought it might be the sever update thing, but now it seems it don't works with update too I am simply using Rest API with the help of passing token to get some fields from the current mail using Addin. But It throws an response "failed" every time when the function "Office.context.mailbox.getCallbackTokenAsync" is called. Code: 1 Office.context.mailbox.getCallbackTokenAsync({isRest: true, "asyncContext" : this._

Count the number of attendees, that have accepted a meeting with EWS

二次信任 提交于 2019-12-23 01:21:25
问题 I am struggling to count the attendees, who accepted the meeting invitation for a meeting over EWS. I am able to see the organisators meetings through impersonation and count the number of required attendees for the meeting. //Determine User to impersonat string impersonated_email = "user@domain"; service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, impersonated_email); //Bind User Calendar FolderId UserCalendarId = new FolderId(WellKnownFolderName.Calendar,

how to connect visual basic .net with microsoft exchange with free libraries posible?

情到浓时终转凉″ 提交于 2019-12-22 18:25:20
问题 Are there any free libraries for VB.net to use for connecting to a MS exchange server? I have found some paid ones but I'd rather not invest, so couln't find any free libraries.. I tried using java as a protocol layer for mapi but it wouldn't work 回答1: What are you trying to accomplish? I've had no trouble sending mail via my Exchange account using the regular SMTP client Public Shared Sub SendEmail(ByVal sFromAddress As String, _ ByVal sToAddress As String, _ ByVal sSMTPAddress As String, _

Exchange Web Services (EWS) - Exchange 2010 soap calls via suds

风流意气都作罢 提交于 2019-12-22 11:32:57
问题 Im trying to send an email via Exchange Web Services using suds 0.4.1: import suds from suds.client import Client from suds.transport.https import WindowsHttpAuthenticated url = "file:///C:/Services.wsdl" user = 'domain\\user' password = "hardtoguess" ntlm = WindowsHttpAuthenticated(username=user,password=password) c = Client(url, transport=ntlm) xml = ''' <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=

Available UserConfigurationName names for GetUserConfiguration for DistinguishedFolderId 'calendar'?

不羁岁月 提交于 2019-12-22 11:16:28
问题 The Exchange Web Services have a method GetUserConfiguration that needs a UserConfigurationName to determine what settings to retrieve for a folder. What UserConfigurationNames are available? (specifically for DistinguishedFolderId 'calendar', but a broader list is fine of course). In a distant past I managed to find 4 but I have no idea where I got those and if this is the entire list. It probably depends on Exchange version as well (these 4 work under 2010). These are the four I have come

Is it possible to assign roles using the Exchange web services in c#?

走远了吗. 提交于 2019-12-22 08:46:10
问题 Is it possible to assign roles using the Exchange web services in c#? Like you programatically automate of adding the role ApplicationImpersonation and assign the role to the users in Office 365 Exchange? 回答1: Assigning roles using Exchange web services is not possible. If you wish to do this through a C# application, try executing PowerShell cmdlets in C#. Look for "RoleGroup" cmdlets. This thread will give you some examples on how to execute PowerShell in C#: Powershell command through C#

Python Exchange ActiveSync Library

╄→尐↘猪︶ㄣ 提交于 2019-12-22 06:48:56
问题 Is anyone familiar with an Exchange ActiveSync library or open source client for python? I've done preliminary searching with little to no success. I've seen some examples for C#, but I figured I'd ask around here before my attempt to port anything over. In case you're curious. This would be an extension of an already existing linux based IMAP / POP3 client. Moving to Windows / C# this late in the game isn't really an option. 回答1: This is a Python ActiveSync client, built on Twisted: https:/

Where are Exchange Web Services: ExtendedPropertyDefinition IDs defined?

∥☆過路亽.° 提交于 2019-12-22 06:43:16
问题 In researching how to use Exchange Web Services, I see examples like this Dim PR_DELETED_ON As New ExtendedPropertyDefinition(26255, MapiPropertyType.SystemTime) Dim PR_SEARCH_KEY As New ExtendedPropertyDefinition(12299, MapiPropertyType.Binary) That first parameter is an int that represents the property ID. Can anyone give me a pointer to where those ID numbers are defined? 回答1: Those are called Microsoft Exchange Property Tags and can be found here 回答2: Have a look at Outlook Spy. It can