EmailBackend¶
-
php\mail\EmailBackend Class EmailBackend
Properties
- property
hostName¶
stringThe host name of the SMTP server.
- property
smtpPort¶
stringThe listening port of the SMTP server.
- property
sslSmtpPort¶
stringThe current SSL port used by the SMTP transport.
- property
sendPartial¶
boolSending partial email.
- property
socketTimeout¶
intThe socket I/O timeout value in milliseconds.
- property
socketConnectionTimeout¶
intThe socket connection timeout value in milliseconds.
- property
sslOnConnect¶
boolWhether SSL/TLS encryption for the transport is currently enabled (SMTPS/POPS).
- property
sslCheckServerIdentity¶
boolWhether the server identity is checked as specified by RFC 2595.
Methods
getHostName()¶protected
Результат: string
setHostName($hostName)¶protected
Параметры:
- $hostName –
string
getSmtpPort()¶protected
Результат: string
setSmtpPort($smtpPort)¶protected
Параметры:
- $smtpPort –
string
getSslSmtpPort()¶protected
Результат: string
setSslSmtpPort($sslSmtpPort)¶protected
Параметры:
- $sslSmtpPort –
string
isSendPartial()¶protected
Результат: boolean
setSendPartial($sendPartial)¶protected
Параметры:
- $sendPartial –
boolean
getSocketTimeout()¶protected
Результат: int
setSocketTimeout($socketTimeout)¶protected
Параметры:
- $socketTimeout –
int
getSocketConnectionTimeout()¶protected
Результат: int
setSocketConnectionTimeout($socketConnectionTimeout)¶protected
Параметры:
- $socketConnectionTimeout –
int
isSslOnConnect()¶protected
Результат: boolean
setSslOnConnect($sslOnConnect)¶protected
Параметры:
- $sslOnConnect –
boolean
isSslCheckServerIdentity()¶protected
Результат: boolean
setSslCheckServerIdentity($sslCheckServerIdentity)¶protected
Параметры:
- $sslCheckServerIdentity –
boolean
setAuthentication($login, $password)¶Sets the userName and password if authentication is needed. If this method is not used, no authentication will be performed.
Параметры:
- $login –
string- $password –
string
clearAuthentication()¶