MailConfig

represents the configuration of a mail service with mail server hostname, port, security options, login options and login/password

package

Default

Methods

MailConfig constructor

__construct( $mailConfig = null) 

Arguments

$mailConfig

mixed | null

getAuthMethods

getAuthMethods() : string

Response

string

getHostname

getHostname() : string

Response

string

getKeyStore

getKeyStore() : string

Response

string

getKeyStorePassword

getKeyStorePassword() : string

Response

string

getLogin

getLogin() : string

Response

string

getMaxPoolSize

getMaxPoolSize() : integer

Response

integer

getOwnHostname

getOwnHostname() : string

Response

string

getPassword

getPassword() : string

Response

string

getPort

getPort() : integer

Response

integer

getStarttls

getStarttls() : string

Response

string

getUsername

getUsername() : string

Response

string

isAllowRcptErrors

isAllowRcptErrors() : boolean

Response

boolean

isDisableEsmtp

isDisableEsmtp() : boolean

Response

boolean

isKeepAlive

isKeepAlive() : boolean

Response

boolean

isSsl

isSsl() : boolean

Response

boolean

isTrustAll

isTrustAll() : boolean

Response

boolean

setAllowRcptErrors

setAllowRcptErrors( $allowRcptErrors) : $this

Arguments

$allowRcptErrors

boolean

Response

$this

setAuthMethods

setAuthMethods( $authMethods) : $this

Arguments

$authMethods

string

Response

$this

setDisableEsmtp

setDisableEsmtp( $disableEsmtp) : $this

Arguments

$disableEsmtp

boolean

Response

$this

setHostname

setHostname( $hostname) : $this

Arguments

$hostname

string

Response

$this

setKeepAlive

setKeepAlive( $keepAlive) : $this

Arguments

$keepAlive

boolean

Response

$this

setKeyStore

setKeyStore( $keyStore) : $this

Arguments

$keyStore

string

Response

$this

setKeyStorePassword

setKeyStorePassword( $keyStorePassword) : $this

Arguments

$keyStorePassword

string

Response

$this

setLogin

setLogin( $login) : $this

Arguments

$login

string

Response

$this

setMaxPoolSize

setMaxPoolSize( $maxPoolSize) : $this

Arguments

$maxPoolSize

integer

Response

$this

setOwnHostname

setOwnHostname( $ownHostname) : $this

Arguments

$ownHostname

string

Response

$this

setPassword

setPassword( $password) : $this

Arguments

$password

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setSsl

setSsl( $ssl) : $this

Arguments

$ssl

boolean

Response

$this

setStarttls

setStarttls( $starttls) : $this

Arguments

$starttls

string

Response

$this

setTrustAll

setTrustAll( $trustAll) : $this

Arguments

$trustAll

boolean

Response

$this

setUsername

setUsername( $username) : $this

Arguments

$username

string

Response

$this