WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Extra "rn" added to FROM making everything spam since update

[Resolved] Extra "rn" added to FROM making everything spam since update

  • I just noticed that all the emails from my business website are being pushed to spam. It had previously been working fine so I’m thinking that it is happening since I updated to wordpress 3.5.

    I tried adjusting the settings and controlling the FROM fields: when I set the FROM email to user, a “/r/n” is added to the user email. When I set it to my email address, and extra “rn” is added to the NAME field.

    UPDATE: After messing around more, I discovered that when it is set to go through WP Mail, “\r\n” is added after the email address (whether it is the user or specified by me._ When it is set to go through PHP Mail, a “rn” is added after the name.

    Wondering if anyone has this happening.
    Any help is much obliged.

    http://wordpress.org/extend/plugins/contact-form-plugin/

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m seeing sort of the same thing, but just “n”, not “rn”. It would be really nice if the email that arrives in my inbox from the plugin would just have the sender’s name + email address. Currently it shows up as…

    FROM: “n” <user@email.com>

    …which is kind of annoying. This would be better:

    FROM: “User Name” <user@email.com>

    So, you have to manually edit the sender’s name when you click Reply every time. The plugin is great otherwise.

    Plugin Author bestwebsoft

    @bestwebsoft

    hello J. Brown,

    We fixed this problem in the last plugin version 3.30

    Kind regards.

    In 3.34, the reply-to name is now “WordPress” if you leave the “Change text of the ‘FROM’ field” blank, which is way better than “rn”.

    However, it would still be best if the reply-to name showed whatever the user typed into the Name field. Otherwise, we have to edit the reply-to field when we reply… just sayin.

    Nathan

    Yes. I must agree. If it were possible to have the reply-to name be the user Name field then that would be ideal.

    I really hate to directly edit a plugin, but we get enough emails through this form that editing the reply-to name is getting really annoying. To fix this, edit the plugin in the WordPress editor and change lines 1017 through 1019 of the main php file…

    $headers .= 'From: '.$name.' <'.stripslashes( $cntctfrm_options['cntctfrm_custom_from_email'] ). '>';
    else
       $headers .= 'From: '.$name.' <'. $email . '>';

    That adds in the name to the FROM address for a format like:
    User Name <user@email.com>

    Of course, next time you update the plugin, it will overwrite this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Extra "rn" added to FROM making everything spam since update’ is closed to new replies.