|
|
Browse by Tags
All Tags » DevMsgTeam » C# (RSS)
Showing page 1 of 4 (38 total posts)
-
We can perform GetItem Exchange Web Service call to get Extended MAPI Properties refer my previous post How to get Extended MAPI Properties in the GetItem Exchange Web Service call? and can also perform FindItem based on the Extended MAPI Properties. In the sample code given below we would use CleanGlobalObjectId to perform FindItem for Calendar Items: NOTE: Following programming examples is for illustration only, without warranty either expressed or implied, including, but not limited to, the implied
-
We can get/set Extended MAPI Properties using Exchange Web Services for Exchange Server 2007/2010. Here is sample code snippet to get value for CleanGlobalObjectID via GetItem call of Exchange Web Services: NOTE: Following programming examples is for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This sample code assumes that you are familiar with the programming language
-
In continuation to my previous post , the customer also had a SMTP Agent that was installed on a Edge Server and did context sensitive email analysis for incoming SMTP messages. In this case only 20 email could be processed by the SMTP Agent. How were the SMTP messages being sent? The customer had a multithreaded application to send out mail. Fortunately, I was able to reproduce this too.In my case when I sent more than 20 mails using a multithreaded application, I ran into the following exception:
Posted to Akash Blogging...... (Weblog) by akash on September 10, 2009
Filed under: DevMsgTeam, C#, Visual Studio 2008, Exchange 2007, Visual Studio 2005, Transport Agent
-
I recently ran in an issue where one of my customer was developing a context sensitive email analysis software for MS Exchange 2007. The results of the analysis was used to decide how that email would be dealt with. Due to the complexity of the analysis, the estimated processing time per email was about 15 to 30 seconds. To realize an acceptable throughput of emails per minute, they needed to ensure that the email processing was strongly parallelized. Therefore they encapsulated the analysis itself
Posted to Akash Blogging...... (Weblog) by akash on September 10, 2009
Filed under: HOWTO, DevMsgTeam, C#, Visual Studio 2008, Exchange 2007, Visual Studio 2005, Routing Agent
-
//====================================================================================================== // CdoexmMailboxUtil - // Exchange Mailbox and user account creation sample. // // This sample demonstrates the following: // Creating a user account in AD // Mail Enable an existing user. // List information on an existing user. // Note: This code is provided as a sample only, so you need to test and take responsibility // of the code and any of its possible actions before usage. Being a sample,
Posted to Dan's WebDAV 101 (Weblog) by danba on August 19, 2009
Filed under: CDOEX, Exchange, C#, cdoexm, sample, DevMsgTeam, mail enable, activeds, create mailbox
-
If your living in a pre Exchange 2007 Powershell worlds and want to mail enable or disable public folders, you may come to the point where you will be needing to write some CDOEX and CDOEXM code to do what you want. Below is a C# sample console application which will allow you to mail enable, mail disable and view mail settings on a public folder. //====================================================================================================== // ExchangePfUtil - // Exchange Public Folder
Posted to Dan's WebDAV 101 (Weblog) by danba on August 14, 2009
Filed under: CDOEX, Exchange, 2007, C#, cdoexm, sample, 2003, DevMsgTeam, mail enable, mail disable, maildisable, mailenable
-
In this we will see how to create & send e-mail messages using Exchange Web Service (EWS). It’s pretty simple with EWS to do. // Create the Exchange Service Binding ExchangeServiceBinding esb = new ExchangeServiceBinding(); // Add its relevant Credentials like user name, password, domain and URL esb.Credentials = new NetworkCredential(userName, Password, domain); esb.Url = @"https://myexchangeserver/EWS/Exchange.asmx" ; // CreateItemType and set its relevant properties/values CreateItemType request
Posted to Le Café Central de DeVa (Weblog) by deva on May 22, 2009
Filed under: Exchange Web Services (EWS), Exchange Server 2007, DevMSGTeam, Programming, development, C#, SMTP, CredentialCache, e-mail, credentials, EWS, ExchangeServiceBinding
-
Have you ever tried sending a mail to someone and it end up with someone else! Beware there could be a Transport Agent that's doing this:-). I ran into an issue where I needed to rewrite the address the mail was being sent to. Not going into too much as to why somebody would want to do this, I wrote a Transport Agent that would do the needful. The below sample C# code written in Visual Studio 2005 changes the To address of the mail that is being sent out. There is no conditional logic as of
-
The easiest solution is to create a COM component and register that component with component services (COM+) running the component under a specific user identity. Why do I say this? Read on... In my case the Web site/Application was configured to run under the DefaultAppPool (Identity = Network Service) and you I wanted to use PowerShell to Enable a Mailbox on Exchange 2007. The code is running on the Exchange 2007 Server itself . What are the available options? 1) Impersonate the user who has the
-
In order to remove attendees from an attendee collection, we have to call the UpdateItem Web method for the meeting with the SetItemField change description to include all current members of the attendee array minus those you want removed. Please refer to the sample code below which demonstrates: CreateItem (How to create a meeting request) GetItem (How to perform GetItem with additional properties) UpdateItem (How to delete an attendee from the Meeting Request) NOTE: Following programming examples
1
|
|
|