// // FolderAttributes.cs // // Author: Jeffrey Stedfast // // Copyright (c) 2013-2020 .NET Foundation and Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. // using System; namespace MailKit { /// /// Folder attributes as used by . /// /// /// Folder attributes as used by . /// [Flags] public enum FolderAttributes { /// /// The folder does not have any attributes. /// None = 0, /// /// It is not possible for any subfolders to exist under the folder. /// NoInferiors = (1 << 0), /// /// It is not possible to select the folder. /// NoSelect = (1 << 1), /// /// The folder has been marked as possibly containing new messages /// since the folder was last selected. /// Marked = (1 << 2), /// /// The folder does not contain any new messages since the folder /// was last selected. /// Unmarked = (1 << 3), /// /// The folder does not exist, but is simply a place-holder. /// NonExistent = (1 << 4), /// /// The folder is subscribed. /// Subscribed = (1 << 5), /// /// The folder is remote. /// Remote = (1 << 6), /// /// The folder has subfolders. /// HasChildren = (1 << 7), /// /// The folder does not have any subfolders. /// HasNoChildren = (1 << 8), /// /// The folder is a special "All" folder containing an aggregate of all messages. /// All = (1 << 9), /// /// The folder is a special "Archive" folder. /// Archive = (1 << 10), /// /// The folder is the special "Drafts" folder. /// Drafts = (1 << 11), /// /// The folder is the special "Flagged" folder. /// Flagged = (1 << 12), /// /// The folder is the special "Important" folder. /// Important = (1 << 13), /// /// The folder is the special "Inbox" folder. /// Inbox = (1 << 14), /// /// The folder is the special "Junk" folder. /// Junk = (1 << 15), /// /// The folder is the special "Sent" folder. /// Sent = (1 << 16), /// /// The folder is the special "Trash" folder. /// Trash = (1 << 17), } }