WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form
[resolved] Extra "rn" added to FROM making everything spam since update (6 posts)

  1. J. Brown
    Member
    Posted 1 year ago #

    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/

  2. nathanbeach
    Member
    Posted 1 year ago #

    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.

  3. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    hello J. Brown,

    We fixed this problem in the last plugin version 3.30

    Kind regards.

  4. nathanbeach
    Member
    Posted 1 year ago #

    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

  5. J. Brown
    Member
    Posted 1 year ago #

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

  6. nathanbeach
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.