WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Email to a friend plugin (11 posts)

  1. kigoe2
    Member
    Posted 8 years ago #

    I'm using the (quite popular, it seems) email to a friend plugin from http://www.lesterchan.net/. 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.

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    have you checked the forums at GamerZ's site ?

  3. kigoe2
    Member
    Posted 8 years ago #

    Wait: there are forums...?

  4. kigoe2
    Member
    Posted 8 years ago #

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

  6. Servant
    Member
    Posted 8 years ago #

    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 http://www.lesterchan.net/blogs/archives/2005/04/04/updated-my-wordpress-plugins/) 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.

  7. kigoe2
    Member
    Posted 8 years ago #

    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.

  8. bloodylamer
    Member
    Posted 8 years ago #

    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!

  9. presto
    Member
    Posted 8 years ago #


    $mail->AddBCC('email@foo.com', 'First Person');

    where email@foo.com 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

  10. Monika
    Member
    Posted 8 years ago #

    Language string failed to load:
    error message:

    open:
    class-phpmailer.php
    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 :
    include($lang_path.'phpmailer.lang-en.php');
    with the path to your language file.

    +++++++++++++

    my prob:
    the email is sending html code.
    ????

    kindly regards
    Monika

  11. kentlau
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags