__construct
public function __construct($host, $port, $tls, $strict, $login, $password, $encoding = null)
SMTP client constructor. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$host | Host. | |
$port | Port. | |
$tls | Protocol for email encryption. | |
$strict | Protocol for transport level protection. | |
$login | Login. | |
$password | Password. | |
$encoding | Character encoding for messages. Without the parameter (null), sources site encoding. |
Examples
© «Bitrix24», 2001-2024