Jump to content

PHPmailer help


zfred09

Recommended Posts

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 = "support@mydomain.com";
$mail->AddAddress("blah@gmail.com");

$mail->Subject = "Blah";
$mail->Body = " Email text"; [/code]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.