|
| | __construct ($mailbox) |
| | normalizeMailboxOptions () |
| | isTimeQuotaExceeded () |
| | pushSyncStatus ($params, $force=false) |
| | listMessages ($params=array(), $fetch=true) |
| | findMessageInUploadQueue ( $idFromHeaderMessage,) |
| | registerMessage (&$fields, $replaces=null, $isOutgoing=false, string $idFromHeaderMessage='', $redefineInsertDate=true, string $messageStatus=\Bitrix\Mail\MailMessageUidTable::DOWNLOADED) |
| | updateMessagesRegistry (array $filter, array $fields, $mailData=array()) |
| | unregisterMessages ($filter, $eventData=[], $ignoreDeletionCheck=false) |
| | linkMessage ($uid, $id) |
| | cacheMessage (&$body, $params=array()) |
| | createMessage (Main\Mail\Mail $message, array $fields=array()) |
| | syncOutgoingMessage ($excerpt) |
| | syncInternal () |
| | setLastSyncResult (array $data) |
См. определение в файле mailbox.php строка 19
◆ __construct()
◆ activateSync()
◆ cacheMessage()
| cacheMessage |
( |
& | $body, |
|
|
| $params = array() ) |
|
protected |
◆ checkMessagesForExistence()
| checkMessagesForExistence |
( |
| $dirPath = 'INBOX', |
|
|
| $UIDs = [] ) |
|
abstract |
◆ cleanup()
◆ createInstance()
| createInstance |
( |
| $id, |
|
|
| $throw = true ) |
|
static |
Creates active mailbox helper instance by ID
- Аргументы
-
| int | $id | Mailbox ID. |
| bool | $throw | Throw exception on error. |
- Возвращает
- \Bitrix\Mail\Helper\Mailbox|false
- Исключения
-
Exception
См. определение в файле mailbox.php строка 108
◆ createMessage()
◆ dismissDeletedUidMessages()
| dismissDeletedUidMessages |
( |
| ) |
|
◆ dismissOldMessages()
◆ downloadAttachments()
| downloadAttachments |
( |
array & | $excerpt | ) |
|
◆ downloadMessage()
| downloadMessage |
( |
array & | $excerpt | ) |
|
|
abstract |
◆ findBy()
◆ findMessageInUploadQueue()
| findMessageInUploadQueue |
( |
| $idFromHeaderMessage | ) |
|
|
protected |
◆ getDirsHelper()
◆ getDirsMd5WithCounter()
| getDirsMd5WithCounter |
( |
| $mailboxId | ) |
|
◆ getDirsWithUnseenMailCounters()
| getDirsWithUnseenMailCounters |
( |
| ) |
|
◆ getErrors()
◆ getFilters()
| getFilters |
( |
| $force = false | ) |
|
◆ getForUserByEmail()
| getForUserByEmail |
( |
| $email | ) |
|
|
staticfinal |
◆ getLastSyncResult()
◆ getMailbox()
◆ getMailboxId()
◆ getMailboxOwnerId()
◆ getServices()
◆ getSyncStatus()
◆ getTimeout()
◆ getWarnings()
◆ incrementTree()
| incrementTree |
( |
| $message | ) |
|
◆ instance()
| instance |
( |
array | $mailbox | ) |
|
|
staticprotected |
◆ isAuthenticated()
◆ isRuZone()
◆ isSupportLazyAttachments()
| isSupportLazyAttachments |
( |
| ) |
|
◆ isSupportSanitizeOnView()
| isSupportSanitizeOnView |
( |
| ) |
|
Could we sanitize message on view? if there is no filters that can use sanitized body
- Возвращает
- bool
См. определение в файле mailbox.php строка 2105
◆ isTimeQuotaExceeded()
◆ linkMessage()
| linkMessage |
( |
| $uid, |
|
|
| $id ) |
|
protected |
◆ listDirs()
| listDirs |
( |
| $pattern, |
|
|
| $useDb = false ) |
|
abstract |
◆ listMessages()
| listMessages |
( |
| $params = array(), |
|
|
| $fetch = true ) |
|
protected |
◆ mail()
◆ normalizeMailboxOptions()
| normalizeMailboxOptions |
( |
| ) |
|
|
protected |
◆ notifyNewMessages()
◆ prepareMailbox()
| prepareMailbox |
( |
| $filter | ) |
|
|
static |
◆ pushSyncStatus()
| pushSyncStatus |
( |
| $params, |
|
|
| $force = false ) |
|
protected |
◆ rawInstance()
| rawInstance |
( |
| $filter, |
|
|
| $throw = true ) |
|
static |
Creates mailbox helper instance
- Аргументы
-
| mixed | $filter | Filter. |
| bool | $throw | Throw exception on error. |
- Возвращает
- \Bitrix\Mail\Helper\Mailbox|false
- Исключения
-
Exception
См. определение в файле mailbox.php строка 242
◆ registerMessage()
◆ resortTree()
| resortTree |
( |
| $message = null | ) |
|
◆ restoringConsistency()
◆ resyncIsOldStatus()
◆ resyncMessage()
| resyncMessage |
( |
array & | $excerpt | ) |
|
◆ reSyncStartPage()
◆ sendCountersEvent()
◆ setCheckpoint()
◆ setLastSyncResult()
| setLastSyncResult |
( |
array | $data | ) |
|
|
protected |
◆ setSyncParams()
◆ sync()
| sync |
( |
| $syncCounters = true | ) |
|
◆ syncCounters()
◆ syncFirstDay()
◆ syncInternal()
◆ syncMessages()
| syncMessages |
( |
| $mailboxID, |
|
|
| $dirPath, |
|
|
| $UIDs ) |
|
abstract |
◆ syncOutgoing()
◆ syncOutgoingMessage()
| syncOutgoingMessage |
( |
| $excerpt | ) |
|
|
protected |
◆ unregisterMessages()
| unregisterMessages |
( |
| $filter, |
|
|
| $eventData = [], |
|
|
| $ignoreDeletionCheck = false ) |
|
protected |
@TODO Enable logs by option on the portal. AddMessage2Log(array_merge($eventData,[ 'filter' => $filterForCheck, 'message-data' => $messageForLog, ]));
См. определение в файле mailbox.php строка 1200
◆ updateGlobalCounter()
| updateGlobalCounter |
( |
| $userId | ) |
|
◆ updateGlobalCounterForCurrentUser()
| updateGlobalCounterForCurrentUser |
( |
| ) |
|
◆ updateMessagesRegistry()
| updateMessagesRegistry |
( |
array | $filter, |
|
|
array | $fields, |
|
|
| $mailData = array() ) |
|
protected |
◆ uploadMessage()
◆ $checkpoint
◆ $dirsHelper
◆ $dirsMd5WithCounter
◆ $errors
◆ $filters
◆ $lastSyncResult
Инициализатор= [
'newMessages' => 0,
'newMessagesNotify' => 0,
'deletedMessages' => 0,
'updatedMessages' => 0,
'newMessageId' => null,
]
См. определение в файле mailbox.php строка 43
◆ $mailbox
◆ $session
◆ $startTime
◆ $syncParams
◆ $syncTimeout
◆ $warnings
◆ INCOMPLETE_MESSAGE_REMOVE_TIMEOUT
| const INCOMPLETE_MESSAGE_REMOVE_TIMEOUT = 600 |
◆ MAIL_SERVICES_ONLY_FOR_THE_RU_ZONE
| const MAIL_SERVICES_ONLY_FOR_THE_RU_ZONE |
Инициализатор= [
'yandex',
'mail.ru',
]
См. определение в файле mailbox.php строка 30
◆ MESSAGE_DELETION_LIMIT_AT_A_TIME
| const MESSAGE_DELETION_LIMIT_AT_A_TIME = 500 |
◆ MESSAGE_RESYNCHRONIZATION_TIME
| const MESSAGE_RESYNCHRONIZATION_TIME = 360 |
◆ MESSAGE_SET_OLD_STATUS_LIMIT_AT_A_TIME
| const MESSAGE_SET_OLD_STATUS_LIMIT_AT_A_TIME = 500 |
◆ NUMBER_OF_BROKEN_MESSAGES_TO_RESYNCHRONIZE
| const NUMBER_OF_BROKEN_MESSAGES_TO_RESYNCHRONIZE = 2 |
◆ NUMBER_OF_INCOMPLETE_MESSAGES_TO_REMOVE
| const NUMBER_OF_INCOMPLETE_MESSAGES_TO_REMOVE = 10 |
◆ SYNC_TIME_QUOTA
| const SYNC_TIME_QUOTA = 280 |
◆ SYNC_TIMEOUT
Объявления и описания членов класса находятся в файле: