• I’m using the latest Contact Form 7 version and everything on the form works except collecting the email address. Example below:

    Name* Carrie Clark
    Company Silly String
    Email* [author_email]
    Phone* 555-1212
    Best Time To Contact now

    The code is:

    <p>Name*[text* name]
    Company[text company]
    Email*[email* your-email]
    Phone*[text* phone]
    Best Time To Contact*[text besttime]</p>

    [Please post code snippets between backticks or use the code button.]

    Everything works fine but I can’t get the email address. What’s going on? How do I fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    my guess would be to change the Email code to read
    [email* author_email].
    Or maybe the field names don’t match exactly in the “Mail” section of the settings window of the plugin.

    Thread Starter slag

    (@slag)

    Thanks for responding. The original code was
    Email* [text* akismet:author_email]. I do not have an Akismet PKI Key, therefore this wasn’t activated on my WP site. I thought that was the problem originally.

    I changed that original line to following, none of which were successful in collecting the email address from the form.
    Email* [text* author_email]
    Email* [email* author_email]
    Email* [email* email]
    Email* [email* email-751] (this is what I got using “Generate Tag” on the right hand side)

    Do you think the original code got cached somehow and now all the form can do is spit out [author_email]?

    Here’s what mine looks like…
    ‘Your name: [text* Yourname]
    Your Center email: [email* Youremail]’

    Then lower in the settings window under “Mail” there is
    To: [email protected]
    From: ‘[Youremail]’

    Then to the left of that under “Message Body:”
    From: [Youremail]
    Subject: website update

    From: [Yourname]
    Subject:
    [Yourname]
    [Youremail]
    Preferred contact…
    [name2]

    Thread Starter slag

    (@slag)

    I cannot thank you enough poster_child! You were exactly right – I changed the [email] code everywhere except the “Message Body”! Thank you for pointing out a very simple oversight.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All I get is [author_email] on Contact Form 7’ is closed to new replies.