WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Wrong from name (3 posts)

  1. Knut Sparhell
    Member
    Posted 3 years ago #

    When sending email (1) the from field is [your-name] <[your-email]. The [your-name] is part of a mandatory input text field.

    A problem with version 2.4.5 is that the From: field in the email takes the name of the blog, not the value of [your-name] is input by the user.

    Example:

    Blog = MyBlog
    [your-name] = My Name
    [your-email] = myname@example.com

    Gives:

    From: MyBlog <myname@example.com>

    Would expect:

    From: My Name <myname@example.com>

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

  2. Rab
    Member
    Posted 3 years ago #

    Have you tried to use IDs with your fields? Such as,

    [textarea* your-textarea 135x6 id:4]

    [checkbox your-check id:5 "Tickbox"]

    Bit of a stab in the dark, without seeing the site / form you are using.

    Cheers,
    Rab

  3. Knut Sparhell
    Member
    Posted 3 years ago #

    Extra info:

    This problem is on multiple sites, with different themes, on multiple server systems (Apache, IIS), but all have the same plugin version and WP version, and using forms that have worked well and as expected until recently. When I use the [your-email] variable on the email body field, or any place, then the content (name) is correct. Also in email(2) the From: field works correct.

    Could this be related?

    I have never used IDs except in som cases where I want a <label> element. I will try. May affect ajax submission, I guess.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic