Support » Fixing WordPress » Email to a friend plugin

  • Resolved kigoe2


    I’m using the (quite popular, it seems) email to a friend plugin from The link and form work great – however, whwn you click “Mail It!” a page comes up with “Language string failed to load: from_faile<the email I provided*>”.

    *not given, for privacy reasons.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Mark (podz)


    Support Maven

    have you checked the forums at GamerZ’s site ?

    Wait: there are forums…?

    Mark (podz)


    Support Maven

    I use the plugin and because of your message re-checked that it works on my site. It didn’t and I got the same error message you provided in your original message above. I looked through the author’s web site (to search or post a message on his site, go to and because I didn’t find anything, I went back to my own site to try it again so I could copy the exact error message and post the information on his blog. But now it works fine. So…I dunno. If it continues, you can go to the URL above and leave him a message. Hope this helps.

    Thanks, everyone! I must be really tired or something, cuz I didn’t see that part of the forum. Sorry for being apsentminded! Anyway, I changed line 66 of the wp-email.php from $mail->Mailer = “smtp”; to $mail->Mailer = “mail”;, and it works.

    Anyone know how to get copies of emailed posts? The email-to-a-friend feature works, but I would like to get a copy of the posts emailed so that I may gauge popularity.

    Thank you!

    $mail->AddBCC('', 'First Person');

    where needs to be changed to the e-mail address you want to BCC to. Place this in the file wp-email.php along with all the other $mail strings around line 70

    Language string failed to load:
    error message:

    find:around line 1487
    * Returns a message in the appropriate language.
    * @access private
    * @return string
    SetLanguage(“en”); // set the default language
    ====> replace en with your language, (I’m from Austria nd so I change to :
    SetLanguage(“de”); // set the default language

    same file, find :aound line:590
    * Sets the language for all class error messages. Returns false
    * if it cannot load the language file. The default language type
    * is English.
    * @param string $lang_type Type of language (e.g. Portuguese: “br”)
    * @param string $lang_path Path to the language file directory
    * @access public
    * @return bool

    replace :
    with the path to your language file.


    my prob:
    the email is sending html code.

    kindly regards

    the way I solved this is:
    check if you have duplicate copy of
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

    in your php file.

    Remove one of them.

    the phpmailer might have difficulty reading two charset (i suspect this is what the word “Language” refering to)

    hope it helps.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Email to a friend plugin’ is closed to new replies.