exchange-server

how to get exact user name from get-mobiledevicestatistics in powershell

泄露秘密 提交于 2019-12-11 01:45:26
问题 I have a small script to get all user mobile devices info from exchange 2013 server. Get-Mailbox -ResultSize Unlimited | ForEach {Get-MobileDeviceStatistics -Mailbox:$_.Identity} | Select-Object @{label="User" ; expression={$_.Identity}},DeviceOS, lastsuccesssync I just want to get an exact user name instead of a path in AD. How can I do it in expression={?} Here is another script to do it, it gives me the user name, but all devices belongs to user are not in separated lines, they all in one

Page times out sending emails, even though emails are sent

拟墨画扇 提交于 2019-12-11 01:37:47
问题 This issue has left me stumped. This question may need to be migrated to Server Fault, but there is a programming component, so I figured I'd start there. Also, our infrastructure team ardently believes everything is fine on their end, but that doesn't always mean anything. Anyways, I've got a simple GET-POST-Redirect action that sends two separate emails using the Postal nuget package, before redirecting to a success page -- pretty basic stuff. The action is async, and I'm using await email

How to use Exchange 2010 cmdlet in batch file

落爺英雄遲暮 提交于 2019-12-11 01:14:15
问题 I can run Get-ActiveSyncDeviceAccessRule correctly in Exchange Management Shell directly. (reference: http://technet.microsoft.com/en-us/library/dd776124.aspx) Then I wrote a batch file as below, but I got CommandNotFoundException . I'd like to know how I can use this cmdlet with cmd.exe? Could anyone can help me? Thank you. (Editor's note: The next three lines were wrapped for formatting. Originally 1 line) C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Get

Microsoft.Exchange.WebServices.Data.ServiceResponseException: Connection did not succeed. Try again later

血红的双手。 提交于 2019-12-11 00:03:58
问题 I have a fairly simple email that I need to send using Exchange server. This works locally, but fails when I publish to the server. Here is my code establishing the link to the exchange server: var service = new ExchangeService(ExchangeVersion.Exchange2010_SP2); service.UseDefaultCredentials = true; service.AutodiscoverUrl(Config.GetGroupMailbox(),RedirectionUrlValidationCallback); After setting the fields I am simply calling .Send() with no success. Here is the stack trace: Microsoft

Android tutorial / Ref : to access contacts, email and contacts using exchange activesync?

与世无争的帅哥 提交于 2019-12-10 21:27:40
问题 I planed to develop android app to sync outlook exchange contacts and mail to myapp. I googled it but not get any tutorial regarding that. I only gets the result to setup active sync and other third party apps. Any one please guide me to understand whats exchange active sync? Is there any library to access outlook exchange. Is there tutorial to write android/java program to access outlook exchange (exchange activesync). is there any open source project? I may misunderstood the about exchange

Creating extended property using EWS and access it from Outlook Add-in

亡梦爱人 提交于 2019-12-10 18:10:07
问题 I am currently working on EWS to have some integration of our company application with Exchange 2010. I am using EWS to create appoinment to Exchange 2010 and it works fine; but recently I tried to add some custom/extended property when creating the appointment, below is my code to add the extended property. Dim customField As New ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "MyCustomField", MapiPropertyType.String) appointment.SetExtendedProperty(customField,

Why is the get action of cfexchangemail never returning?

时光毁灭记忆、已成空白 提交于 2019-12-10 17:31:36
问题 We are running Coldfusion 9.0.1 and have successfully used cfexchangemail to retrieve email for a number of years. Within the last few days the calls for some users never return. This leads to ColdFusion stacking up active requests which eventually leads to no response for any request. For other users the calls work successfully. This is the call: <cfexchangemail action="get" folder="Inbox " name="weeksMail" connection="testconn1"> <cfexchangefilter name="maxRows" value=4> </cfexchangemail>

Maximum size of email X-Headers

时光毁灭记忆、已成空白 提交于 2019-12-10 13:53:29
问题 We are looking at sticking some metadata into the X-Headers of email messages. These emails are for consumption by internal systems, and will be hosted on an Exchange server. Is there a maximum size for the ammount of data that we can store in an X-Header? Are there any limitations, such as special characters, that I should know about? 回答1: US ASCII characters only. This is defined by RFC 822. There is no limit on the length of a header body in the standard, though there is a line length

Exchange ItemID differs from GlobalAppointmentID for Outlook AddIn

早过忘川 提交于 2019-12-10 13:47:08
问题 The problem I'm having is that the GlobalAppointmentID of a Outlook Appointement created using a Outlook FormRegion differs from that of the ItemID when using EWS Managed API. I'm creating an Outlook addIn that allows users to add customer and project information to a meeting. The addIn also stores the appointment ID and meeting data in a database and a service will periodically check the ID to update the appointment data. Ok so here is how I use the AddIn: Outlook.AppointmentItem

Outlook ReportItem.Body returning messed up encoding for some users

只愿长相守 提交于 2019-12-10 13:22:24
问题 We have a weird issue with Outlook lately that is impacting some users. If certain users automate the Outlook Client to view bounce backs/ReportItems in a shared inbox, rather than returning the clear text of the message as indicated by the documentation we get back a unicode string that has been parsed as a UTF-8 string - so it looks like Chinese. Now I can get past that with some code, but the additional issue is that this change occurs in outlook as well for all users with access to that