I got this error when trying to send an email using smtp:
Language string failed to load: from_failed**myemail@gmail.com**
Here\'s my code:
This usually means your phpMailer class cannot find the language file when it is trying to spit out a message.
Easiest way to fix this is to set the language manually including the path to the language folder:
$mail = new PHPMailer();
$mail->SetLanguage("en", 'includes/phpMailer/language/');
It's in your language folder. Or you can simply point your SetLanguage
method to this source:
1