I want examples of the following methods if they exist within the IMAP library.
1) Check to see if a mailbox exists on email server
ifFolderExists = true; //then do not create it (otherwise create it)
I have the method for create mailbox, but I want to check if a mailbox exists on the server before I create it.
2) Is there a bool method that can check if a messageObject is read or unread?
bool = message.isRead; //return true or false
I move messages according to whether if it is read or not, and I use for unit testing purpose.
Hello Reinaldo Coelho Sartorelli,
I want examples of the following methods if they exist within the IMAP library.
1) Check to see if a mailbox exists on email server ifFolderExists = true; //then do not create it (otherwise create it) I have the method for create mailbox, but I want to check if a mailbox exists on the server before I create it.
2) Is there a bool method that can check if a messageObject is read or unread? bool = message.isRead; //return true or false I move messages according to whether if it is read or not, and I use for unit testing purpose.
Thanks.