zfred09 Posted January 7, 2007 Share Posted January 7, 2007 I posted this once in third-party scripts, but no one seems to look at those threads so I reposted here. Anyways when using phpmailer through a smtp I get this error message: [color=red]Mailer Error: Language string failed to load: recipients_failed[/color]I have searched for at least a couple hours for the solution to this problem, have tried many different fixes and still no result. How do I fix this problem?[code] ini_set("include_path", ".:/path/to/phpmailer/dir"); ini_set("include_path", ".:/path/to/smtp/dir"); ini_set("include_path", ".:/path/to/phpmailer.lang-en/dir"); $mail = new PHPMailer(); $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = "smtp.mydomain.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "username"; // SMTP username $mail->Password = "pass"; // SMTP password $mail->From = "[email protected]"; $mail->AddAddress("[email protected]"); $mail->Subject = "Blah"; $mail->Body = " Email text"; [/code] Link to comment https://forums.phpfreaks.com/topic/33166-phpmailer-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.