EmailBackend¶
-
php\mail\EmailBackend Class EmailBackend
Properties
- property
hostName¶string
The host name of the SMTP server.
- property
smtpPort¶string
The listening port of the SMTP server.
- property
sslSmtpPort¶string
The current SSL port used by the SMTP transport.
- property
sendPartial¶bool
Sending partial email.
- property
socketTimeout¶int
The socket I/O timeout value in milliseconds.
- property
socketConnectionTimeout¶int
The socket connection timeout value in milliseconds.
- property
sslOnConnect¶bool
Whether SSL/TLS encryption for the transport is currently enabled (SMTPS/POPS).
- property
sslCheckServerIdentity¶bool
Whether the server identity is checked as specified by RFC 2595.
Methods
getHostName()¶protected
Returns: string
setHostName($hostName)¶protected
Parameters:
- $hostName – string
getSmtpPort()¶protected
Returns: string
setSmtpPort($smtpPort)¶protected
Parameters:
- $smtpPort – string
getSslSmtpPort()¶protected
Returns: string
setSslSmtpPort($sslSmtpPort)¶protected
Parameters:
- $sslSmtpPort – string
isSendPartial()¶protected
Returns: boolean
setSendPartial($sendPartial)¶protected
Parameters:
- $sendPartial – boolean
getSocketTimeout()¶protected
Returns: int
setSocketTimeout($socketTimeout)¶protected
Parameters:
- $socketTimeout – int
getSocketConnectionTimeout()¶protected
Returns: int
setSocketConnectionTimeout($socketConnectionTimeout)¶protected
Parameters:
- $socketConnectionTimeout – int
isSslOnConnect()¶protected
Returns: boolean
setSslOnConnect($sslOnConnect)¶protected
Parameters:
- $sslOnConnect – boolean
isSslCheckServerIdentity()¶protected
Returns: boolean
setSslCheckServerIdentity($sslCheckServerIdentity)¶protected
Parameters:
- $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.
Parameters:
- $login – string
- $password – string
clearAuthentication()¶