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
— string- ISO 639-1 2-character language code (e.g. Portuguese: "br")
$lang_path
— string- Path to the language file directory