1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAllMailMessage
Граф наследования:CAllMailMessage:
CMailMessage

Открытые статические члены

static GetList ($arOrder=Array(), $arFilter=Array(), $bCnt=false)
static GetByID ($ID)
static GetSpamRating ($msgid, $arRow=false)
static parseHeader ($header, $charset)
static decodeMessageBody ($header, $body, $charset)
static parseMessage ($message, $charset)
static addMessage ($mailboxId, $message, $charset, $params=array())
static saveMessage (int $mailboxId, &$message, &$header, &$bodyHtml, &$bodyText, &$attachments, $params=array())
static Add ($arFields, $mailboxID=false)
static Update ($ID, $arFields, $mailboxID=false)
static Delete ($id)
static MarkAsSpam ($ID, $bIsSPAM=true, $arRow=false)
static addAttachment ($arFields)
static isLongMessageBody (?string &$messageBody)
static getBodyMaxLength ()
static prepareLongMessage (&$messageBody, &$messageBodyHtml)

Поля данных

const MAX_LENGTH_MESSAGE_BODY = 3000000

Защищенные статические члены

static getTextHtmlBlock (string &$body)
static getPartBody (&$part)

Подробное описание

См. определение в файле mail.php строка 1319

Методы

◆ Add()

Add ( $arFields,
$mailboxID = false )
static

Add a message to the database in the table b_mail_message.

Аргументы
array$arFields
Возвращает
int(message id in the table b_mail_message).

См. определение в файле mail.php строка 2040

◆ addAttachment()

addAttachment ( $arFields)
static

См. определение в файле mail.php строка 2310

◆ addMessage()

addMessage ( $mailboxId,
$message,
$charset,
$params = array() )
static

См. определение в файле mail.php строка 1696

◆ decodeMessageBody()

decodeMessageBody ( $header,
$body,
$charset )
static

См. определение в файле mail.php строка 1531

◆ Delete()

Delete ( $id)
static

См. определение в файле mail.php строка 2225

◆ getBodyMaxLength()

getBodyMaxLength ( )
static

Get max allowed email body length in symbols

Возвращает
int

См. определение в файле mail.php строка 2415

◆ GetByID()

GetByID ( $ID)
static

См. определение в файле mail.php строка 1492

◆ GetList()

GetList ( $arOrder = Array(),
$arFilter = Array(),
$bCnt = false )
static

См. определение в файле mail.php строка 1323

◆ getPartBody()

getPartBody ( & $part)
staticprotected
Аргументы
$part
Возвращает
string

См. определение в файле mail.php строка 2573

◆ GetSpamRating()

GetSpamRating ( $msgid,
$arRow = false )
static

См. определение в файле mail.php строка 1497

◆ getTextHtmlBlock()

getTextHtmlBlock ( string & $body)
staticprotected
Аргументы
string$body
Возвращает
string[]

См. определение в файле mail.php строка 2480

◆ isLongMessageBody()

isLongMessageBody ( ?string & $messageBody)
static

Is message body to long

Аргументы
string | null$messageBodyBody string
Возвращает
bool

См. определение в файле mail.php строка 2400

◆ MarkAsSpam()

MarkAsSpam ( $ID,
$bIsSPAM = true,
$arRow = false )
static

См. определение в файле mail.php строка 2253

◆ parseHeader()

parseHeader ( $header,
$charset )
static

См. определение в файле mail.php строка 1524

◆ parseMessage()

parseMessage ( $message,
$charset )
static

См. определение в файле mail.php строка 1560

◆ prepareLongMessage()

prepareLongMessage ( & $messageBody,
& $messageBodyHtml )
static
Аргументы
$messageBody
$messageBodyHtml
Возвращает
array

См. определение в файле mail.php строка 2532

◆ saveMessage()

saveMessage ( int $mailboxId,
& $message,
& $header,
& $bodyHtml,
& $bodyText,
& $attachments,
$params = array() )
static

By default, a chain is created for each new message that links the message to itself. If the parents are not found for the message in the future, then the chain will remain like this.

If the id of the parent (IN_REPLY_TO) matches the id of the message itself(MSG_ID), skip the chain creation step.

См. определение в файле mail.php строка 1703

◆ Update()

Update ( $ID,
$arFields,
$mailboxID = false )
static

См. определение в файле mail.php строка 2119

Поля

◆ MAX_LENGTH_MESSAGE_BODY

const MAX_LENGTH_MESSAGE_BODY = 3000000

См. определение в файле mail.php строка 1321


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/mail/classes/general/mail.php