SMTP
Less than 1 minute
SMTP
Properties
server
private string $server
port
private int $port
socket
private mixed $socket
read_timeout
private int $read_timeout
Methods
init
public init({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$settings | Map |
send
public send({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$message | TransportMessage |
connect
private connect({Array})
close
private close({Array})
write
private write({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$msg | string |
read
private read({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$code | int | |
$len | int | |
$message | string | |
$response | string |
getMessageCode
private getMessageCode({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$buf | string | |
$message | string |
encodeEmail
Encodes an email address for use in SMTP commands.
private encodeEmail({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$email | array |
Generated by Hazaar API Doc Generator