1 Reply Latest reply: Sep 15, 2009 8:13 AM by 843804 RSS

    How to Read Outlook mail item using JACOB

      I am try to read all email item from outlook.
      Using JACOB api i am read all folders from outlook. what i want is i want to read only
      the mail items from inbox and other custom folders and skip other contact, calendar
      folders. How can i implement this using JACOB.

      How to use MailItem attribute.

      Using this code
      Dispatch items = Dispatch.get(myFolder, "Items").toDispatch();
      I am read all items from outlook. instead of items i am using MailItem its throw exception.
      so please help to read mail items only from outlook

      With Regards,
      Ganesh Kumar