• Resolved belenberrueta

    (@belenberrueta)


    When upgrading the plugin I found myself with an error:

    “This field has syntax errors.”

    But this appears only in the FROM field, which it used to work before upgrading the plugin. In the from field I had:

    [your-name]

    But now it appears this error below the field: “This field has syntax errors.”

    What is wrong?

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 15 replies - 16 through 30 (of 49 total)
  • Following. I have the same question regarding the email address in the From field as well.

    Following. I have the same problem regarding the email address in the From field

    I’m also interested in following this as I am having this problem.

    I wonder why the developer is not responding to this, where there is no update.

    Contact Form 7 IMHO has always been the best form maker. We have made dozen kind of forms with it, with little to do with the normal contact one.

    The syntax error does not make sense, neither does the procedure to fix it.

    At any rate, even without fixing it, it works.

    The from field definitely needs the from field short code. So that when it hit the inbox, you can see the sender’s email right away. Anything else is baloney.

    BTW, another easy fix is using WP Better Email.

    @yanni2112

    The FROM field is from customers emailing me. So now when I see an new email has come in, when I hit reply Im sending it to MYSELF! WTH!

    If you add the following to ADDITIONAL HEADERS in MAIL, you will be able to reply to the sender of the message:

    Additional Headers: Reply-To: [your-email]

    Additional Headers: Reply-to: [your email]
    (allows you to use Reply in your email application to reply
    to the form users email address)

    Thank you!

    Also curious why [name] <[email]>, which is what you would expect to see in the from field, gives an error.

    For some reason Reply-To is not working for me, so it’s certainly inconvenient for clients to have to manually enter the email address.

    @josh88

    Also curious why [name] <[email]>, which is what you would expect to see in the from field, gives an error.

    If an email is being sent from your website domain, it should now have a FROM address from that domain. This is because emails are being spoofed by spammers and are being sent from a different domain (e.g. I send you a message from my domain but claim to be sending it from paypal.com). Such messages are being routed into the Spam folder, and so best practice is now to include a FROM email address that is from the website domain. Look at the following setup:

    For some reason Reply-To is not working for me,

    Make sure that in the FORM itself, email is a required field: [email* email]

    How is this resolved? I don’t see an answer that works!

    Hi nhbeachguy,

    Here the configuration i use for mail and auto reply :
    I test it and it works ??

    EMAIL

    To : [email protected]
    From : [your-email] <[email protected]>

    Subjet : Infos MYSITENAME [your-subject]

    Additional Headers : Reply-To: [your-email]

    EMAIL 2

    To : [your-email]
    From : MY SITE NAME <[email protected]>
    Subjet : Your message was [your-subject]
    Additional Headers : Reply-to:[email protected]

    I’ve the same error since the update to wordpress 4.5

    If I save a form I get the error message. The additional header is not correct (syntax error)
    What can I do?
    Nothing works…

    I have fixed the problem.

    Go to the form tab. search your email field.

    My old code:
    <p>Your email: [text* email]</p>

    My new code:
    <p>Your email: [email* email]</p>

    The field must be from type email!

    mw197,

    Thank you!!! I built the site with the error ages ago. There are 6 forms. Three had the email field set as a [text* email]. Once I changed it to [email* email] the errors went away.

    Totally awesome.

    Boris

    (@boris-paing)

    Also : you may not want the user’s e-mail to be mandatory and drop the “*” in the form. If you do so however, you will get a “syntax error” in the “Additional Headers” field using [your-email] after “Reply To:” because the field can be blank. It works anyway.

    hola tengo un problema con el formulario
    todo funciona..

    Pero cuando recibo el correo y respondo
    Se agregan 2 correos.

    el cliente que me hace la consulta
    y el correo de la configuracion.

    link fotografia . para q se hagan una idea please.
    ver foto

Viewing 15 replies - 16 through 30 (of 49 total)
  • The topic ‘This field has syntax errors.’ is closed to new replies.