exchange-server

The remote server returned an error: (440) Login Timeout

安稳与你 提交于 2019-12-11 07:15:48
问题 I need to find the mailbox size for the particular account and i have used c# coding with webdav But i am getting error when i used the code . Please find the error message The remote server returned an error: (440) Login Timeout. Please find the reference link which i have used for code. http://msdn.microsoft.com/en-us/library/ms877932%28EXCHG.65%29.aspx Could anyone please help me to solve this issue? 回答1: When a HTTP or WebDAV request is issued agains an Exchange 2003 or 2007 public folder

EWS : Unable to read data from the transport connection: The connection was closed

℡╲_俬逩灬. 提交于 2019-12-11 06:44:02
问题 var message = EmailMessage.Bind(exchangeService, itemid, new PropertySet( ItemSchema.Attachments)); exchangeService.TraceListener=new TraceListener(); exchangeService.TraceEnabled = true; message.Load(new PropertySet(ItemSchema.MimeContent)); // Getting exception here. // File.WriteAllBytes("email.eml", message.MimeContent.Content); I am getting the below exception when trying to load the mime content. Microsoft.Exchange.WebServices.Data.ServiceRequestException occurred HResult=-2146233088

Getting Room Appointments Efficiently from Exchange

北慕城南 提交于 2019-12-11 05:46:28
问题 The Problem I need to be able to get appointment data from meeting rooms using the Exchange Managed API. I have had a service running for about a month that serves this purpose just fine by using ExchangeService.GetUserAvailability() as follows: private IEnumerable<CalendarEvent> GetEvents(ExchangeService ExchangeService, string room, DateTime time, DateTime end) { List<AttendeeInfo> attendees = new List<AttendeeInfo>(); end = new DateTime(time.Ticks + Math.Max(end.Ticks - time.Ticks, time

Microsoft.Exchange.WebServices.Data.Appointment IsOnlineMeeting Set action is invalid for Property

谁都会走 提交于 2019-12-11 04:52:10
问题 Trying to create a calendar event in exchange using the Microsoft.Exchange.WebServices.Data.Appointment. Everything works fine until I set the IsOnlineMeeting property to True. This results in the error "Set action is invalid for Property". In the Appointment object this property is marked as "settable". I'm able to set the IsResponseRequested property to true with no issues. Has anyone experienced this issue before with IsOnlineMeeting property? // Summary: // Gets or sets a value indicating

How to configure Hybrid mode for Exchange 2016 to have OAuth2 Client Credentials flow working with Microsoft Graph API

末鹿安然 提交于 2019-12-11 04:29:13
问题 I configured Hybrid mode on a customer's Exchange 2016. Now users' mailboxes are exposed on the Microsoft Graph API using the individual consent flow (authorization code Oauth2 flow). Getting an admin consent with a client credentials flow seems to work : a token is retreived on the Microsoft endpoint, the payload is correct (right scopes), but it triggers an "unknown error" when using it to get a mailbox content through the Microsoft Graph API. The same token does work to get directory

How to get DL in Exchange Server using Java API?

坚强是说给别人听的谎言 提交于 2019-12-11 03:58:42
问题 How to get DL (distribution List) from Microsoft Exchange Server via EWS in Java? I have tried EWS Java API but could not find list of Distribution List (GAL) of exchange server, any help regarding to this API or any other would be appreciated. 回答1: The GAL is not directly supported. You can use the ResolveNames method to resolve individual names. To perform a search on the GAL, you need to use LDAP. See http://www.infinitec.de/post/2005/02/How-to-get-the-Global-Address-List-programatically

PHP imap_search: UTF-8 / Non-ASCII characters on Microsoft Exchange mail servers

半世苍凉 提交于 2019-12-11 03:20:02
问题 I want to fetch emails from outlook.office365.com using IMAP and PHP. Since the most emails contain non-ASCII characters like äöü , I use UTF-8 in my imap_search() function: imap_search($mbox_connection, 'ALL', SE_UID, "UTF-8") With UTF-8 and the search criteria ALL I get all emails as expected. Now, I wanted to restrict it to for example only unseen (unread) emails: imap_search($mbox_connection, 'UNSEEN', SE_UID, "UTF-8") But this unfortunately causes the issue, that no emails can be found

C# Exchange Service suddenly giving error The property Hashtags is valid only for Exchange Exchange2015 or later versions

醉酒当歌 提交于 2019-12-11 03:06:54
问题 I have a Windows Service written in C# that polls an Exchange server to process mails to an unattended email box. It's been working fine, until today when it's throwing up the following error:- EXCEPTION: Microsoft.Exchange.WebServices.Data.ServiceVersionException: The property Hashtags is valid only for Exchange Exchange2015 or later versions. at Microsoft.Exchange.WebServices.Data.PropertyBag.set_Item(PropertyDefinition propertyDefinition, Object value) at Microsoft.Exchange.WebServices

EWS FindItemsResults<Item> Item.Move() does not move certain item types to a Mail folder such as IPM.Appointment

落花浮王杯 提交于 2019-12-11 02:37:53
问题 I have some code that is moving items into a Mail Folder from the Deleted Items. The code works well and moves all the items generally. The problem occurs when it encounters an item that is not IPM.Note. It gives the error that is a null reference (See: What is a NullReferenceException, and how do I fix it?) Which is odd as there are items there and it can't be null. Here is a code excerpt: // Specify the Exchange Service ExchangeService E_SERVICE = new ExchangeService(ExchangeVersion

How to convert string to boolean in this Powershell code for Exchange Online?

自作多情 提交于 2019-12-11 02:07:10
问题 My code is: Import-Csv "$env:userprofile\Desktop\ExternalContacts.csv"| foreach {New-MailContact -Name $_.Name -DisplayName $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -FirstName $_.FirstName -LastName $_.LastName | Set-MailContact -Identity $_.Name -HiddenFromAddressListsEnabled $_.HiddenFromAddressListsEnabled} And I am getting: Cannot process argument transformation on parameter 'HiddenFromAddressListsEnabled'. Cannot convert value "System.String" to type "System.Boolean",