none
Creating plug-in or add-in for exchange server RRS feed

  • Question

  • Is it possible to create plug-in or add-in or some kind of extension for Windows Exchange server which can synchronize all mails in some folder with my server?

    I would like to send a copy of mails onto my server over web service automatically without user interaction.

    For example: when new mail arrives or is dropped into some folder, exchange server sends this mail to web service and adds flag to this mail that it has been send.

    Thank you!


    Monday, August 5, 2013 12:43 PM

All replies

  • Actually you can managed this by Rules.
    Its easy way

    Wednesday, August 7, 2013 6:59 AM
  • You can write an application that use Exchange Web Services http://msdn.microsoft.com/en-us/openspecifications/hh546844.aspx to either upload of download a particular email from a mailbox (in an EML format) eg eg something like will download a message

                PropertySet psPropSet = new PropertySet(EmailMessageSchema.MimeContent);
                ItemId itItemId = new ItemId(ewsID);
                EmailMessage emEmailMessage = EmailMessage.Bind(esExchangeService, itItemId, psPropSet);
                FileStream fsFileStream = new FileStream(FileName, FileMode.Create);
                fsFileStream.Write(emEmailMessage.MimeContent.Content, 0, emEmailMessage.MimeContent.Content.Length);
                fsFileStream.Close();
                Console.WriteLine("Message exported to " + FileName);
    Cheers
    Glen
    Wednesday, August 7, 2013 7:03 AM