exchange-server

Exchange Web Services Managed API: Accessing other users items

£可爱£侵袭症+ 提交于 2019-12-06 19:44:48
问题 Is it possibly to access the folders and items of other Exchange accounts other than the one of the logged in user? Can I do this via Exchange Web Services Managed API? 回答1: Yes it is possible, but you should know the password of the other user or grab in some ways this credentials ( NetworkCredential object). The typical first lines of you code could be ExchangeService myService = new ExchangeService (ExchangeVersion.Exchange2007_SP1); myService.Credentials = new NetworkCredential ("user

PHP - Syncing MySQL Contacts with Exchange

和自甴很熟 提交于 2019-12-06 13:30:48
问题 As part of a PHP webapp I have MySQL contacts table. It is integrated throughout the app, allowing you add a contact, edit a contact or add a contact as a relation to another table. However, currently it is self-contained. The company would like it to sync with Exchange, so that contacts added to Exchange will show up on the webapp and contacts added on the webapp will show up through Exchange. So I have two problems: 1) communicating with Exchange 2) syncing with Exchange. As far as the

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

拟墨画扇 提交于 2019-12-06 13:02:08
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, impersonated_email); CalendarFolder UserCalendar = CalendarFolder.Bind(service, UserCalendarId); //

Microsoft.Exchange.Management.PowerShell.Admin

久未见 提交于 2019-12-06 13:01:28
问题 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

Get Microsoft Exchange Authentication token through Android's AccountManager

蓝咒 提交于 2019-12-06 12:06:24
I am working on an Android 3.0 program that can connect to a SSL'd php webservice (outputs data in JSON, I can modify the server). The tablets that are connecting to this service have a corporate Microsoft ActiveSync (exchange 2010) account, and only that account (no google accounts,FB, etc). I would like to write a program that can use the credentials saved in the tablet's android.accounts.AccountManager to make secure requests on that PHP webservice. I tried following some google examples but I think the problem lies when I use the line: AccountManagerFuture<Bundle> data = am.getAuthToken(b,

JavaMail SMTPSendFailedException

ⅰ亾dé卋堺 提交于 2019-12-06 11:17:09
I am writing a bulk email program using the JavaMail api. I have a Microsoft Exhange server which I am trying to send the emails in to. When I run my program I get the following error: **com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1862) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1100) at javax.mail.Transport.send0(Transport.java:195) at javax.mail.Transport.send(Transport.java:124) at SendEmail.postMail(SendEmail.java:100) at EmailGenerator.main(EmailGenerator.java:52)** The

Exchange Web Services Attachment load is slow

冷暖自知 提交于 2019-12-06 11:02:58
I'm in the process of writing some code to download and process the attachments of email messages and then process them. The code is working as required in some cases, but still has some major problems. Whenever the code loads the attachment into a file on the local disk, it takes a very long time to do so and often times out with the following exception as a result of the slow download: A first chance exception of type 'Microsoft.Exchange.WebServices.Data.ServiceRequestException' occurred in Microsoft.Exchange.WebServices.dll I may be wrong, but if the exchange server in question is on the

Android XML Configuration File?

戏子无情 提交于 2019-12-06 10:53:42
问题 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

How to specify content type in request in groovy?

依然范特西╮ 提交于 2019-12-06 10:06:05
i'm trying to use the groovy httpbuilder to make a post to the microsoft exchange webservice (EWS). My problem is, I'm unable to set the proper request content-type. The library seems to have its own mind here. Does anyone have an idea? Cheers, Stephan Here is my code: url = "http://exchangeserver/ews/Exchange.asmx" p_body = "<soap request >..."; p_contentType = "text/xml; charset=utf-8" customHeaders = ["SOAPAction":"LONG_URL"] def http = new HTTPBuilder(url); http.auth.basic(authMap.username, authMap.password) // contentType: p_contentType, http.request( POST ) { contentType = ContentType

ActiveSync client Java implementation

可紊 提交于 2019-12-06 09:59:02
问题 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