Class EmailConfigurationProvider
Class EmailConfigurationProvider
Methods summary
public
charset( void )
: string
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.
public
languageCode( void )
: string
Returns the language code configuration value. The code is 'de', if $_SESSION['language'] is equal to 'german'. Any other case will return en.
public
useHtmlMail( void )
: boolean
Returns true if html emails should be used. The configuration value will be read from configuration table.