• Appelmoes

    (@appelmoes)


    Hello,

    I use your contact form on my ‘new to build’ website. At first it didn’t work so I asked my hostingcompany what the cause was. They didn’t give me a direct answer but they told me that I should install this plugin: http://wordpress.org/plugins/wp-mail-smtp/

    I have installed that and now the contact-form of “Contact Form 7” works………………….but…………….when I use the form on my website I fill in my name, my emailaddress and a message and then I press the “Send’-button . The contact form than says that my message has been send. When I check my email I receive the message but………in the email it doesn’t show ‘my name’, ‘my emailaddress’ and the ‘message’. In fact, it’s a blank email just like this beneath.

    Can you help me?

    Kind regards
    Marc
    The Netherlands

    THIS IS HOW THE EMAIL LOOKS LIKE:

    Van: [your-name] <[your-email]>
    Onderwerp: [your-subject]

    Bericht inhoud:
    [your-message]


    Deze mail is verzonden via contact form op thenameofmysite
    http://www.thenameofmysite.nl/wp3

    https://wordpress.org/plugins/contact-form-7/

Viewing 5 replies - 1 through 5 (of 5 total)
  • davejampole

    (@davejampole)

    In the Form section of the Edit Contact Form page, you would have something like:

    <label>Name
    [text* Name class:text class:Name 35/]</label>

    and
    <label>E-mail address
    [text* Email class:text class:email]</label>

    In the Message body section of the same page, you would have something like:

    Name & email: [Name] ([Email])

    This will yield something like:

    Name & email: Joe Smith (joe@test.com)

    Every instance of ‘Name’ must be EXACTLY THE SAME, spelling and capitalization. If you have Name in the Form section and name in the Message body section, it will not work.

    Hope this helps.

    Thread Starter Appelmoes

    (@appelmoes)

    Hello Dave, thanks for your quick reply.

    The data for the form is:
    [text* name watermark “Naam”]
    [email* email watermark “Email”]
    [textarea message watermark “Bericht”]
    [submit “Verstuur”]

    (as I live in the Netherlands I have translated the watermark into Dutch words where Naam means name, Email means….email and Bericht means message and Verstuur means send).

    The mail data is:

    To: (here in filled in my emailaddress)

    From: (here I put in: [your-name] <[your-email]> )

    Subject: (here I put in: [your-subject] )

    Message body: (here I put in:
    Van: [your-name] <[your-email]>
    Onderwerp: [your-subject]

    Bericht inhoud:
    [your-message]


    Deze mail is verzonden via contact form op websitename.nl http://www.websitename.nl/wp3

    davejampole

    (@davejampole)

    The problem you are experiencing is a common one.

    When you define the fields (in the form design section) and where you use them (in the message section), the names MUST be identical. Make these changes and you should have no problem.

    Change:

    [text* name watermark “Naam”]
    [email* email watermark “Email”]
    [textarea message watermark “Bericht”]

    in the design section to

    your-name, your-email and your-message so that everything agrees with what you have in the message section.

    Capitalization must also agree (ex: if, in one place you have Your-name and somewhere else you have your-name, you won’t get what the user enters.

    Thread Starter Appelmoes

    (@appelmoes)

    Hello Dave,

    thanks again, I will try this immediatly

    So it should become like this:

    [text* your-name watermark “Naam”]
    [email* your-email watermark “Email”]
    [textarea your-message watermark “Bericht”]

    Or should I use these ‘things’ (I don’t know the English word for them) as well:

    These things I mean:
    [ ]

    Thread Starter Appelmoes

    (@appelmoes)

    I’ve tested it without the ‘things’ and it works !!!!!!!!!!!

    Thanks a million Dave, I really appreciate your help.

    If you ever come over to the Netherlands, I’ll buy you a beer, haha.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can't get it to work’ is closed to new replies.