Dan's WebDAV 101

This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.

Browse by Tags

Tagged Content List
  • Blog Post: Outlook Automation is for People, not for Services.

    I don't know why we see a lot of customers trying to automate Outlook from a service. It’s pretty well documented that it’s a bad idea. Outlook Object Model (OOM) was written for automating Outlook for a user sitting at the box running it. See, Outlook is very personal and I do mean, it’s very, very...
  • Blog Post: Why is OOM code leaking items????

    When you use OOM under .NET, your using managed code around COM objects via the Outlook Primary Interop Assembly (PIA). When you have managed code working with COM in this way, you have to be very careful to clean-up your references. .NET will hold onto COM objects, sometimes causing leaks, and sometimes...
  • Blog Post: HOWTO: VB/OOM - Display a message using Store ID and item ID

    How to display a message in an outlook window using the store id and item id using OOM. CDO 1.21 cannot just display a message without having it being in a state of forward, reply, etc - so OOM is a better solution. 'TODO - set a reference to the outlook object model ' Call DisplayMessage, passing...
  • Blog Post: Looking for a way to save a .msg file or load a .msg file?

    Outlook Object Model (OOM) can do this easily. Below is a sample: howto - save and load a message to a folder. Sub SaveAndLoadMsgFile() Dim ol As Outlook.Application Dim olns As Outlook.NameSpace Dim oOrigItem As Outlook.MailItem Dim oNewItem As Outlook.MailItem Set ol = CreateObject("Outlook.Application...
Page 1 of 1 (4 items)