Class FolderId

    • Constructor Detail

      • FolderId

        public FolderId()
        Initializes a new instance.
      • FolderId

        public FolderId​(String uniqueId)
                 throws Exception
        Initializes a new instance.Use this constructor to link this FolderId to an existing folder that you have the unique Id of.
        Parameters:
        uniqueId - the unique id
        Throws:
        Exception - the exception
      • FolderId

        public FolderId​(WellKnownFolderName folderName)
        Initializes a new instance.Use this constructor to link this FolderId to a well known folder (e.g. Inbox, Calendar or Contacts)
        Parameters:
        folderName - the folder name
      • FolderId

        public FolderId​(WellKnownFolderName folderName,
                        Mailbox mailbox)
        Initializes a new instance.Use this constructor to link this FolderId to a well known folder (e.g. Inbox, Calendar or Contacts) in a specific mailbox.
        Parameters:
        folderName - the folder name
        mailbox - the mailbox