> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum values for MailboxType

> Lists the enum values for MailboxType.

## MailboxType Enum

Enum indicating the protocol to use (POP/IMAP).

| Name      | Value | Description                                                            |
| --------- | ----- | ---------------------------------------------------------------------- |
| Unknown   | 0     | Unknown                                                                |
| Pop       | 1     | Pop                                                                    |
| Imap      | 2     | Imap - without OAuth support. Use ImapOAuth instead if OAuth is needed |
| Mapi      | 3     | Mapi - Obsolete                                                        |
| Facebook  | 4     | TypeFacebook                                                           |
| Pops      | 5     | Pop SSL                                                                |
| Imaps     | 6     | Imap SSL                                                               |
| SmsPlugin | 7     | Incoming SMS, using a plugin                                           |
| Mailgun   | 8     | Used by mailboxes set up as a Mailgun route                            |
| ImapOAuth | 9     | This is a Imap mailbox using OAuth authentication                      |

## Usage

* [mail\_in\_filter](../mail-in-filter).server\_type - This table contains entries for the mailboxes the eJournal system is fetching mail from (POP3 or IMAP).


## Related topics

- [Enum MailboxType](/en/automation/crmscript/reference/CRMScript.NetServer.MailboxType.md)
- [SuperOffice.WebApi.Data.MailboxType](/en/api/reference/webapi/SuperOffice.WebApi.Data.MailboxType.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [Enum values for TextType](/en/database/tables/enums/texttype.md)
- [Enum values for RoleType](/en/database/tables/enums/roletype.md)
- [Enum values for ScriptType](/en/database/tables/enums/scripttype.md)
