IPWorks OpenPGP 2020 macOS Edition

Questions / Feedback?

ListMailboxes Method

Lists all mailboxes matching all criteria in the Mailbox property.

Syntax

public func listMailboxes() throws -> Void

Remarks

This method lists all of the mailboxes matching the criteria in the Mailbox property. Matching mailboxes are returned through the MailboxList event.

Example (List All Mailboxes)


IMAPControl.Mailbox = "*"
IMAPControl.ListMailboxes()

Example (List All Mailboxes Inside INBOX)


IMAPControl.Mailbox = "INBOX.*"
IMAPControl.ListMailboxes()

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 macOS Edition - Version 20.0 [Build 7941]