Class EmailConfigurationProvider
| package |
Default |
|---|
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builder
_getEmailConfig(string $key) : string
The configuration value will be read from the configurations table.
stringKey of expected configuration value.
stringConfiguration value of given key.
auth() : string
stringConfiguration value of emails smtp auth.
backupServer() : string
stringConfiguration value of emails smtp backup server.
charset() : string
$_SESSION['language_charset'] will be used if it is set. If not, the charset of the default shop language is taken.
string
defaultLanguage() : string
stringConfiguration value of default language.
emailTransport() : string
stringConfiguration value of email transport.
encryption() : string
stringConfiguration value of emails smtp encryption.
languageCode() : string
The code is 'de', if $_SESSION['language'] is equal to 'german'. Any other case will return en.
string
mainServer() : string
stringConfiguration value of emails smtp main server.
password() : string
stringConfiguration value of emails smtp password.
port() : string
stringConfiguration value of emails smtp port.
sendMailPath() : string
stringConfiguration value of send mail path.
useHtmlMail() : boolean
The configuration value will be read from configuration table.
boolean
user() : string
stringConfiguration value of emails smtp username.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder
table : string
| var |
|---|
string
keyField : string
| var |
|---|
string
valueField : string
| var |
|---|
string