CBA with EWS
I am searching for an article that describes the configuration for certificate based authentication with EWS.I need the correct settings for Exchange 2007, 2010 and 2013.Thanks
View ArticleExchange Online EWS Only Returns Availability when MinimumSuggestionQuality...
We are using impersonation to access mailboxes hosted in Office 365 using EWS but the app will only return available timeslots when the availabilityOptions.MinimumSuggestionQuality =...
View ArticleFolder Extended Properties (EWS+Outlook)
What Im trying to achive is to be able to create a Folder with Extended Properties using EWS and then be able to read these properties from inside Outlook.Ive verified that it works to add &...
View ArticleGetting the message "The sharing message is not supported." while sharing the...
Here is code snippet which i prepared base on https://willcode4foodblog.wordpress.com/2012/04/13/understanding-sharing-invitation-requests-ews-managed-api-1-2-part-1/and...
View ArticleO365 EWS API - search one or more mailboxes for specific email, check if read?
Howdy All - Can anyone point me as to how you can search a single or multiple mailboxes for a specific email by sender or subject to find out if the email was read? I have scoured the net and can not...
View ArticleDate problem when saving mail
Hi,I'm using EWS Managed API 2.2 with Visual Basic 2013. I'm trying to import EML file to user mailbox using EMailMessage Save method, and it works great, but received date in Outlook is set to today's...
View Article"AutodiscoverLocalException" - "The Autodiscover service couldn't be located"...
Hi everybody,I am using EWS Managed API 2.2 to get Autodiscover settings. But it is giving me 'Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException'. The message is "The Autodiscover service...
View ArticleConsistent View of an email folder (streaming vs pulling or both)
Hello again.I am trying to figure out a good way to make sure that I have an accurate representation of a folder locally.I have two tools at my disposal.Pulling Subscription and...
View ArticleStreaming Subscription Keep Alive
Hi,I noticed that on a Streaming subscription, the client side receives a "keep alive" envelope (0 notifications with status OK) roughly every 45 seconds (see below). Is this standard behavior?Thanks,...
View Article[E2010] [TA] [C#] [Windows]: Change Body charsetName
Hello!I want to convert body from us-ascii to utf-8, if any know how can i do it plaese give hint.I tried change Body.CharsetName, but in Exchange 2010 it is read-only property.
View ArticleHow to move an email from user mailbox to shared mailbox using apps for...
How can I move an email from a users main mailbox to a shared mailbox using apps for office. I know I can do this manually but i am creating an for owa/outlook that would be a button to move the item....
View ArticlePowerShell & EMS differences
Hi all,apologies if this has been asked before but I couldn't find an answer.If I run this in EMS it works perfectly$size ='{0:N2}'-f ((get-mailboxdatabase $_.name...
View ArticleExchange 2007 Transport Agent/Rule
I would like to use the full regex library for a transport rule; do I need to create a new transport agent to do this? If so, how do I accomplish this? Has anyone already done this?Thanks in advance...
View ArticleMessage trace
Is there any way we can pull data from Message trace which is over 90 days on Office365. Its for reporting purposes.ThanksHarshita
View ArticleForcing EWS to return an error an error code
Hi everybody,Can we force EWS to return an error code, even if it is fine? E.g., send one GetItem and tell it to return a "corrupt" answer so it is actually accessible.Thanks & regards,Talib Hussain
View ArticleSave an email through EWS Managed API 2.2 via Windows PowerShell
EWS API 2.2; Exchange 2010 SP3$service = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2010_SP2)$service.Credentials =...
View ArticleHow to get services.wsdl for Office 365?
_https://outlook.com/ews/Exchange.asmx shows _https://yyy.xxx.prod.outlook.com:444/EWS/Services.wsdl but going there returns 500._https://outlook.office365.com/ews/services.wsdl also ends with 500 Is...
View ArticleExchange Web Services Autodiscover fails after first login failure
Hi,I am writing a C#.NET to send emails using Exchange Web Services APIs. I could find that the code works perfectly when I give the correct user name and password. But, if I give a wrong password on...
View Articlewrite approval mail data to sqlserver use RoutingAgent class
In exchange server create some TransportRule. Like this:New-TransportRule "Approval1" -HeaderContainsMessageHeader "X-Approval" -HeaderContainsWords "test1-Approval"...
View ArticleUser credential pop-up for EWS
Hi,I am re-writing a C# application which will send out an email using EWS API. Earlier this feature was done using VB6 and CDO components.Earlier, on connecting to the exchange server, a user...
View Article