Problem with PHPMailer

Collapse

Unconfigured Ad Widget

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • crazydog
    Junior Member
    • Aug 2006
    • 3

    Problem with PHPMailer

    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.phpclass.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 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?
    Last edited by Marc_AccuWebHosting; 11-14-2019, 08:51 AM.
  • Kris
    Administrator
    • Nov 2006
    • 9

    #2
    Hello,

    If you are still facing the problem then kindly provide us your phpmailer send mail script and if your domain is hosted on our server then kindly provide us your domain name also.

    Thanks,
    AccuWebHosting.Com
    support@accuwebhosting.com

    Comment

    Working...
    X