См. определение в файле mailer.php строка 20
◆ checkConnect()
Returns true if Login, Password and Server parameters is right Returns false if any errors in connection was detected
- Аргументы
-
Context | $context | |
\Bitrix\Main\ErrorCollection | $errors | |
- Возвращает
- bool
- Исключения
-
PHPMailer\PHPMailer\Exception
См. определение в файле mailer.php строка 332
◆ closeConnections()
Closes all instances connections
См. определение в файле mailer.php строка 398
◆ getActualConfiguration()
getActualConfiguration |
( |
Context | $context | ) |
|
|
protected |
◆ getInstance()
Returns instance of current class
- Аргументы
-
- Возвращает
- Mailer|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
PHPMailer\PHPMailer\Exception
См. определение в файле mailer.php строка 283
◆ prepareConfiguration()
prepareConfiguration |
( |
Context | $context | ) |
|
Prepare PHPMailer configuration from bitrix/.settings.php
- Аргументы
-
array | null | $configuration | |
- Возвращает
- bool
См. определение в файле mailer.php строка 62
◆ sendMailBySmtp()
sendMailBySmtp |
( |
string | $sourceTo, |
|
|
string | $subject, |
|
|
string | $message, |
|
|
string | $additional_headers, |
|
|
string | $additional_parameters ) |
Send mail via smtp connection
- Аргументы
-
string | $to | |
string | $subject | |
string | $message | |
string | $additional_headers | |
string | $additional_parameters | |
- Возвращает
- bool
- Исключения
-
PHPMailer\PHPMailer\Exception
См. определение в файле mailer.php строка 155
◆ setMIMEBody()
Set prepared MIME body data
- Аргументы
-
См. определение в файле mailer.php строка 130
◆ setMIMEHeader()
setMIMEHeader |
( |
| $headers | ) |
|
Set prepared MIME header
- Аргументы
-
См. определение в файле mailer.php строка 139
◆ KEEP_ALIVE_ALWAYS
const KEEP_ALIVE_ALWAYS = 'keep_alive_always' |
◆ KEEP_ALIVE_NONE
const KEEP_ALIVE_NONE = 'keep_alive_none' |
◆ KEEP_ALIVE_OPTIONAL
const KEEP_ALIVE_OPTIONAL = 'keep_alive_optional' |
Объявления и описания членов класса находятся в файле: