PHPMailer::SetLanguage
Sets the language for all class error messages.
Returns false if it cannot load the language file. The default language is English.
Signature
public function SetLanguage([string
$langcode = 'en',
[string
$lang_path = 'language/']] )
Parameters
-
$langcode
- ISO 639-1 2-character language code (e.g. Portuguese: "br")
-
$lang_path
- Path to the language file directory
Returns
- bool