Browse by Tags

All Tags » DevMsgTeam » C#   (RSS)
Showing page 1 of 4 (38 total posts)
  • How to do FindItem using Extended MAPI Properties in a Exchange Web Service call?

    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
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on November 12, 2009
    Filed under: DevMsgTeam, How to, C#, Exchange Server 2007, EWS, Exchange Web Services, Exchange Server 2010
  • How to get Extended MAPI Properties in the GetItem Exchange Web Service call?

    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
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on November 6, 2009
    Filed under: DevMsgTeam, How to, C#, .Net, Exchange Server 2007, Exchange Web Services, Visual Studio 2008, Exchange Server 2010
  • Increasing the number of mails that can be processed(Asynchronously) by a SMTP Agent simultaneously

    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
  • Increasing the number of mails that can be processed(Asynchronously) by a Routing Agent simultaneously

    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
  • HowTo: Create a mailbox for an existing user, Create a user in AD, List AD User info.

    //====================================================================================================== // 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
  • Howto: Mail Enable, Mail Disable and view Mail settings for a Public Folder with CDOEX and CDOEXM

    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
  • Part # 2 - Using C#.Net & Exchange Web Service (EWS) : How to create and send e-mail messages?

    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
  • HOW TO:Rewrite the To address in Transport Agents on a Hub Server

    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
    Posted to Akash Blogging...... (Weblog) by akash on February 24, 2009
    Filed under: DevMsgTeam, C#, Exchange 2007, Visual Studio 2005, Transport Agent
  • HOWTO: Using PowerShell in ASP.NET (.NET Framework 2.0)

    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
    Posted to Akash Blogging...... (Weblog) by akash on January 30, 2009
    Filed under: HOWTO, DevMsgTeam, Powershell, C#, Exchange 2007
  • How to delete an attendee from Meeting Request using Exchange Web Services?

    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
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on January 27, 2009
    Filed under: DevMsgTeam, How to, C#, .Net, Exchange Server 2007, EWS, Exchange Web Services, Visual Studio 2008, Visual Studio
1 2 3 4 Next >

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker