Title: Syntax Errors in Mail Fields
Last modified: September 1, 2016

---

# Syntax Errors in Mail Fields

 *  Resolved [spacenerd](https://wordpress.org/support/users/spacenerd/)
 * (@spacenerd)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/syntax-errors-in-mail-fields/)
 * On some of my contact forms, I’m receiving an error that says “This field has
   syntax errors.” However, I can’t figure out what the issue is.
 * On some forms, I have the exact same content in the field, but those forms do
   not trigger the syntax error. Below are two errors that I’m seeing:
 * On the “Additional Headers” field, the value I have inputed is:
 *     ```
       Sender: noreply@MYDOMAIN.com
       Reply-To: [your-name] <[email-address]>
       ```
   
 * On the “To” field, the value I have inputed is:
    `[email-address]`
 * All of the field values exist as part of the form itself. I’ve copied the actual
   form data below:
 *     ```
       <p>
       	Your Name *<br />
           [text* your-name]
       </p>
   
       <p>
       	Your Email *<br />
           [text* email-address]
       </p>
   
       <p>
       	Telephone Number *<br />
       	[tel* telephone-number]
       </p>
   
       <p>
       	Reservation Date (Tues.-Sat.) *<br />
           [text* reservation-date]
       </p>
   
       <p>
       	Reservation Time *<br />
           [select* reservation-time include_blank "11:00 am" "11:15 am" "11:30 am" "11:45 am" "12:00 pm" "12:15 pm" "12:30 pm" "12:45 pm" "1:00 pm" "1:15 pm" "1:30 pm" "1:45 pm"]
       </p>
   
       <p>
       	Number of People in Party *<br />
           [select* number-in-party include_blank "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "10+"]
       </p>
   
       <p>
       	Comments<br />
           [textarea comments]
       </p>
   
       <p>[submit "Submit"]</p>
       ```
   
 * Any insight would be really appreciated as I can’t see to identify what the cause
   of the error messages are. I’m not seeing any issues with the form submission
   themselves, o it’s really baffling.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/syntax-errors-in-mail-fields/#post-7607156)
 * > [text* email-address]
 * Use [`email*`](http://contactform7.com/text-fields/) instead of `text*`.
 * > Sender: [noreply@MYDOMAIN.com](https://wordpress.org/support/topic/syntax-errors-in-mail-fields/noreply@MYDOMAIN.com?output_format=md)
 * You don’t need this line.
 *  Thread Starter [spacenerd](https://wordpress.org/support/users/spacenerd/)
 * (@spacenerd)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/syntax-errors-in-mail-fields/#post-7607183)
 * That fixed it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Syntax Errors in Mail Fields’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [syntax errors](https://wordpress.org/support/topic-tag/syntax-errors/)

 * 2 replies
 * 2 participants
 * Last reply from: [spacenerd](https://wordpress.org/support/users/spacenerd/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/syntax-errors-in-mail-fields/#post-7607183)
 * Status: resolved