|
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) |
См. определение в файле mail.php строка 1319
◆ Add()
Add |
( |
| $arFields, |
|
|
| $mailboxID = false ) |
|
static |
Add a message to the database in the table b_mail_message.
- Аргументы
-
- Возвращает
- int(message id in the table b_mail_message).
См. определение в файле mail.php строка 2040
◆ addAttachment()
addAttachment |
( |
| $arFields | ) |
|
|
static |
◆ addMessage()
addMessage |
( |
| $mailboxId, |
|
|
| $message, |
|
|
| $charset, |
|
|
| $params = array() ) |
|
static |
◆ decodeMessageBody()
decodeMessageBody |
( |
| $header, |
|
|
| $body, |
|
|
| $charset ) |
|
static |
◆ Delete()
◆ getBodyMaxLength()
Get max allowed email body length in symbols
- Возвращает
- int
См. определение в файле mail.php строка 2415
◆ GetByID()
◆ GetList()
GetList |
( |
| $arOrder = Array(), |
|
|
| $arFilter = Array(), |
|
|
| $bCnt = false ) |
|
static |
◆ getPartBody()
- Аргументы
-
- Возвращает
- string
См. определение в файле mail.php строка 2573
◆ GetSpamRating()
GetSpamRating |
( |
| $msgid, |
|
|
| $arRow = false ) |
|
static |
◆ getTextHtmlBlock()
getTextHtmlBlock |
( |
string & | $body | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- string[]
См. определение в файле mail.php строка 2480
◆ isLongMessageBody()
isLongMessageBody |
( |
?string & | $messageBody | ) |
|
|
static |
Is message body to long
- Аргументы
-
string | null | $messageBody | Body string |
- Возвращает
- bool
См. определение в файле mail.php строка 2400
◆ MarkAsSpam()
MarkAsSpam |
( |
| $ID, |
|
|
| $bIsSPAM = true, |
|
|
| $arRow = false ) |
|
static |
◆ parseHeader()
parseHeader |
( |
| $header, |
|
|
| $charset ) |
|
static |
◆ parseMessage()
parseMessage |
( |
| $message, |
|
|
| $charset ) |
|
static |
◆ 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 |
◆ MAX_LENGTH_MESSAGE_BODY
const MAX_LENGTH_MESSAGE_BODY = 3000000 |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/mail/classes/general/mail.php