exchange-server

How do I query effective permissions on an Active Directory Object?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 20:28:27
问题 I'm trying to programmatically determine whether the current user has certain permissions on a given Active Directory object (specifically in this case, I'm trying to determine whether the user has the "Send As" permission for another Exchange user or distribution list object). I already figured out how to access the ntSecurityDescriptor attribute using ADSI: I can enumerate the ACEs in the IADsSecurityDescriptor 's DiscretionaryACL property. But: How do I determine from that data whether the

Microsoft.Exchange.Management.PowerShell.Admin

时光总嘲笑我的痴心妄想 提交于 2019-12-04 20:14:01
I'm having troubles using the Microsoft.Exchange.Management.PowerShell.Admin on a server. The server is not the one running Exchange 2007, it's a remote server (in the same zone). I can't figure out how to add the Snapin for Powershell - Microsoft.Exchange.Management.PowerShell.Admin. Is it possible to just get the dll file from the Exchange 2007 server, and copy it to the server where my code is running? Can someone please explain what I need to do to get my code running? The exception that i'm getting now is: "No Windows PowerShell Snap-ins are available for version 1". This is the code that

Cannot load Exchange powershell snap-in: The type initializer for 'Microsoft.Exchange.Data.Directory.Globals' threw an exception

笑着哭i 提交于 2019-12-04 17:36:58
问题 I have the following code that creates a PowerShell runspace with the Exchange 2010 snap in loaded. Dim runspaceConfig = RunspaceConfiguration.Create() Dim snapInException As PSSnapInException = Nothing runspaceConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.E2010", snapInException) Dim runspace = RunspaceFactory.CreateRunspace(runspaceConfig) runspace.Open() Since installing Visual Studio 2012 I started getting the following error when executing the line that adds the snap-in to

Android XML Configuration File?

笑着哭i 提交于 2019-12-04 16:21:32
I work for an enterprise service desk, and many of our users use Android phones. On the other hand, some of our users also use iPhones, and we were able to create a profile that a user can download to setup their exchange account. Is there any programs that allow this to be done for Android? We are looking to streamline our exchange account setup, and we would like a similar configuration file for the Android phones. Or if there is no configuration utility, does anyone know of any enterprise solution for Android exchange setup? As far as I know, there is no such feature in the Android Email

iPhone: How do you get the names of all the address books on the iPhone?

时光总嘲笑我的痴心妄想 提交于 2019-12-04 15:47:48
Some users have multiple address books in their iPhone Contacts, as a result of different synchronization connections they have made with e.g. Exchange Servers. How is it possible to get all of these different address books? I would be interested in getting the names under which these different address books are saved and accessing their contact information. Thank you! ABAddressBookRef addressBook = ABAddressBookCreate(); CFArrayRef sourcesArray = ABAddressBookCopyArrayOfAllSources(addressBook); for (CFIndex i = 0; i < CFArrayGetCount(sourcesArray); i++) { ABRecordRef source = (ABRecordRef

IMAP protocol support in different email servers

好久不见. 提交于 2019-12-04 14:56:43
Having to interact with several different email servers via IMAP (using javamail), I have found that there is a very different level of support for IMAP features among them. The lack of support of some features has resulted in more developing time, more complicated code to deal with different support, worse perforamance due to not being able to SEARCH etc. So I would like to get some info on other servers and what level of support they provide. So far I have dealt with Lotus Domino and Novell GroupWise (and to a lesser extend Exchange 2003 and 2007). I am particularly interested in most used

ActiveSync client Java implementation

纵然是瞬间 提交于 2019-12-04 14:34:16
My company is working on a project to develop a desktop and mobile email client that can connect to different mail servers with minimal configuration for users or server admins. As we want to support Microsoft Exchange it seems we have to implement the ActiveSync protocol in Java. We're already aware of the licensing issues regarding use of ActiveSync and are in contact with Microsoft. We've already noticed that Android provides a partial implementation of what we want to do but we're looking for a Java library that is more fully featured and easier to integrate into a non-android application.

Convert Outlook REST API item id to MAPI EntryID

自闭症网瘾萝莉.ら 提交于 2019-12-04 12:53:47
is there an officially supported way to convert item ids from the Outlook REST API into an MAPI EntryID? I am talking about the "Id" field returned for items in the json response of an http GET on a mailbox endpoint like so: https://outlook.office365.com/api/v2.0/me/messages The Id field contains a base64 value. When I convert it to hex and compare it to the PR_ENTRY_ID value of the same item, e.g. with MFCMAPI , I can find the EntryID is contained in the hex version of the Id field. Is there an official documentation how to convert between the id formats? Or an API to call? Would prefer a

Exchange EWS not returning message body for calendar

∥☆過路亽.° 提交于 2019-12-04 12:43:26
So i'm trying to fetch all the calendar event from office360.com . I am using ews to get the data. I sent a request of <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"> <soap:Body> <FindItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" Traversal="Shallow"> <ItemShape> <t:BaseShape>AllProperties</t:BaseShape> <t:BodyType>HTML</t:BodyType> </ItemShape> <ParentFolderIds> <t

Java mail client to MS Exchange server

落花浮王杯 提交于 2019-12-04 12:23:09
Our MS exchange server doesn't use Imap or pop3 protocols, I am trying to write a client in Java to connect to the exchange server, I guess I wont be able to do this with Java Mail API (if I am not wrong). I tried telnetting the exchange server address with ports 110 and 143 and 25 but with no luck. Can any one suggest if there is an existing API to deal with this scenario, any suggestions are appreciated. Got exJello off of Oracle's site . Probably a good place to start. Exchange can be configured to serve IMAP. That would be a lot less trouble than writing a client to talk to it. 来源: https:/