View Single Post
  #1 (permalink)  
Old 12-27-2006
crazydog crazydog is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Rep Power: 0
crazydog is on a distinguished road
Default

Never mind...I fixed it


Hi. When I try to use PHPMailer to send mail, I get the error:

Message was not sentMailer Error: Language string failed to load: recipients_failed

I found on another website this solution:

<div class=\'quotetop\'>QUOTE</div><div class=\'quotemain\'>The phpmailer package has three essential files:

class.phpmailer.php
class.smtp.php (optional - only needed for SMTP)
language file: phpmailer.lang-en.php (English althought there are a bunch of others)

In the phpmailer instructions (http://phpmailer.sourceforge.net) you're supposed to add these files to the php.ini includes path. Instead I just referenced as includes at the top of my scripts.

Code:
PHP Code:
include_once("lib/phpmailer/class.phpmailer.php");
include_once('lib/phpmailer/language/phpmailer.lang-en.php');
I was getting the same error (Language string failed to load) until I added the second include for the phpmailer.lang-en.php language file. Once I did that, the mailer worked fine with no error messages.[/b][/quote]
But when I try to include phpmailer.lang-en.php I get an error.....
Is that file existent?
Reply With Quote