1 Reply Latest reply on Sep 15, 2009 1:13 PM by 843804

    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