Class EmailConfigurationProvider
Class EmailConfigurationProvider
Methods summary
public
|
#
__construct( CI_DB_query_builder $db )
EmailConfigurationProvider constructor.
EmailConfigurationProvider constructor.
Parameters
|
public
string
|
#
emailTransport( )
Returns the email transport configuration value.
Returns the email transport configuration value.
Returns
string Configuration value of email transport.
|
public
string
|
#
auth( )
Returns the smtp auth configuration value.
Returns the smtp auth configuration value.
Returns
string Configuration value of emails smtp auth.
|
public
string
|
#
backupServer( )
Returns the smtp backup server configuration value.
Returns the smtp backup server configuration value.
Returns
string Configuration value of emails smtp backup server.
|
public
string
|
#
encryption( )
Returns the smtp encryption configuration value.
Returns the smtp encryption configuration value.
Returns
string Configuration value of emails smtp encryption.
|
public
string
|
#
mainServer( )
Returns the smtp main server configuration value.
Returns the smtp main server configuration value.
Returns
string Configuration value of emails smtp main server.
|
public
string
|
#
password( )
Returns the smtp password configuration value.
Returns the smtp password configuration value.
Returns
string Configuration value of emails smtp password.
|
public
string
|
#
port( )
Returns the smtp port configuration value.
Returns the smtp port configuration value.
Returns
string Configuration value of emails smtp port.
|
public
string
|
#
user( )
Returns the smtp user configuration value.
Returns the smtp user configuration value.
Returns
string Configuration value of emails smtp username.
|
public
string
|
#
sendMailPath( )
Returns the send mail path configuration value.
Returns the send mail path configuration value.
Returns
string Configuration value of send mail path.
|
public
string
|
#
charset( )
Returns the charset configuration value for emails.
$_SESSION['language_charset'] will be used if it is set.
If not, the charset of the default shop language is taken.
Returns the charset configuration value for emails.
$_SESSION['language_charset'] will be used if it is set.
If not, the charset of the default shop language is taken.
Returns
string
|
public
string
|
#
languageCode( )
Returns the language code configuration value.
The code is 'de', if $_SESSION['language'] is equal to 'german'.
Any other case will return en.
Returns the language code configuration value.
The code is 'de', if $_SESSION['language'] is equal to 'german'.
Any other case will return en.
Returns
string
|
public
boolean
|
#
useHtmlMail( )
Returns true if html emails should be used.
The configuration value will be read from configuration table.
Returns true if html emails should be used.
The configuration value will be read from configuration table.
Returns
boolean
|