phpMailer – Language string failed to load

This usually means your phpMailer class cannot find the language file when it is trying to spit out a message.

eg: Language string failed to load: from_failed

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/');

Leave a Reply

Your email address will not be published.