Language string failed to load: from_failed[from_email_address]

Bekam ich diese Fehlermeldung, wenn Sie versuchen eine E-Mail senden mit smtp:

Language string failed to load: from_failed**myemail@gmail.com**

Hier ist mein code:

$mail = new PHPMailer();
                    //$mail->SetLanguage('en',dirname(__FILE__) . '/phpmailer/language/');
                    $SMTP_Host = "smtp.gmail.com";
                    $SMTP_Port = 465;
                    $mail->SMTPSecure = 'ssl';

                    $SMTP_UserName = "[email protected]";
                    $SMTP_Password = "****";
                    $from = "[email protected]";
                    $fromName = "My Name";
                    $to = "[email protected]";

                    $mail->IsSMTP();
                    $mail->Host     = $SMTP_Host;
                    $mail->SMTPAuth = true;


                    $mail->Username = $SMTP_UserName;
                    $mail->Password = $SMTP_Password;

                    $mail->From     = "[email protected]";
                    $mail->FromName = "From Name";
                    $mail->AddAddress("[email protected]");
                    $mail->AddReplyTo($from, $fromName);

                    $mail->IsHTML(true);

                    $mail->Subject  =  "This is an message from our website";
                    $mail->Body     =  $design;

                    if(!$mail->Send())
                    {

                       echo "Error : " . $mail->ErrorInfo;
                       exit;
                    }

Wie kann ich es beheben?

InformationsquelleAutor Nấm Lùn | 2012-02-02
Schreibe einen Kommentar