Title: Subject Configuration Error
Last modified: August 31, 2016

---

# Subject Configuration Error

 *  Resolved [jmkt](https://wordpress.org/support/users/jmkt/)
 * (@jmkt)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/)
 * Had two configuration errors. Followed instructions and solved one my using ‘[
   your-name] <wordpress@website.co.uk>’ in from field.
 * However, in subject field I have ‘[your-subject]’ which is what the instructions
   say to use/ I am still getting the error ‘This field can be empty depending on
   user input.’
 * Any ideas?
 * Regards,
 * jmkt
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/subject-configuration-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/subject-configuration-error/page/2/?output_format=md)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086671)
 * If you only use ‘[your-subject]’, it will be empty when the user input is blank(
   and the your-subject field is not a required field). So you can avoid the error
   by adding some text before or after [your-subject], such as ‘YOUR SITE NAME –[
   your-subject]’.
 *  [Neil Murray](https://wordpress.org/support/users/buzztone/)
 * (@buzztone)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086673)
 * [@jmkt](https://wordpress.org/support/users/jmkt/) – the validator is warning
   you that using a CF7 tag like ‘[your-subject]’ for the Subject field is risky.
   ​​
   This is because the form user may not supply this value. Then you would be trying
   to send an email without a Subject. Your host may not allow this & other hosts
   may see your email as spam. ​ ​It’s important to realize that when a from gets
   submitted you are sending a regular email but you are doing it from WordPress
   via PHP. ​Just like a normal email your from email needs a valid To: From: and
   Subject: field.
 *  Thread Starter [jmkt](https://wordpress.org/support/users/jmkt/)
 * (@jmkt)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086681)
 * Many thanks for all your comments.
 * **buzztone** – would making the subject a required field not get round this?
 *  [chmars](https://wordpress.org/support/users/chmars/)
 * (@chmars)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086686)
 * Maybe ‘warnings’ would be a better wording?
 * I also get the ‘This email address does not belong to the same domain as the 
   site.’ error. And it’s intentional since it’s the From field with the sender’s
   mail address …
 * For ‘This field can be empty depending on user input.’, the field is mandatory,
   so there will always be some text.
 *  Thread Starter [jmkt](https://wordpress.org/support/users/jmkt/)
 * (@jmkt)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086691)
 * Would it be possible to modify at the next update that the “subject” warning 
   only appears if the subject is not required?
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086699)
 * If you have set [your-subject] in the Subject field and the your-subject field
   is required, you don’t see the warning.
 *  [chmars](https://wordpress.org/support/users/chmars/)
 * (@chmars)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086705)
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Miyoshi:
 * You are of course right regarding [your-subject], thank you!
 *  [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * (@crzyhrse)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086709)
 * I am getting the same two errors mentioned in this thread, and not really understanding
   what changes are being called for even after reading through here…
 * The _From_ field is asking for the email address of the message sender, so of
   course it cannot include my site’s domain… And the _Subject_ field is according
   to CF7 instructions, as well as everything else as much as I can tell…
 * Most indicative however is that the form is continuing to work perfectly, both
   with and without something in the subject line (it not being required in the 
   form), and I am receiving the form messages with complete and accurate info including
   sender name and email address properly arranged to my email address as always…
 * It may be that this new validator addition is needing some attention, as it may
   not be calling things properly…?
 * Kinde regards…
 *  [Pierre_02](https://wordpress.org/support/users/pierre_02/)
 * (@pierre_02)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086713)
 * Hi,
 * same kind of error here. I use [centre] value to fill the field “To” and [centre]
   is a select.
    The configuration errors show me “This field has syntax errors.”
   for that… But i’m pretty sure that’s not an error as it works since a long time:).
   So in the tab “Email”, i use [centre] for the field “To” and in my “Message Body”
   i use “[_raw_centre]” to get my selected value. So how can i avoid to display
   that false error ?
 * TIA,
 * Pierre.
 *  [camscorner](https://wordpress.org/support/users/camscorner/)
 * (@camscorner)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086714)
 * I’ll chime in with the same two error messages (I posted on the From error thread).
   As others have said, since the From is completed by the person filling out the
   form, this makes no sense to me. They may not even have a domain. And, I too,
   set up the Subject field as optional. From this thread, it looks I can get rid
   of the error by putting something in that field but I still have the question
   regarding the From field.
 *  [jaeger](https://wordpress.org/support/users/jaegerschnitzel/)
 * (@jaegerschnitzel)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086715)
 * Just check this article: [http://kb.cf7skins.com/contact-form-7-email-issues/#your-email](http://kb.cf7skins.com/contact-form-7-email-issues/#your-email)
   
   [https://wordpress.org/support/topic/syntax-error-this-email-address-does-not-belong-to-the-same-domain-as-the-sit?replies=14](https://wordpress.org/support/topic/syntax-error-this-email-address-does-not-belong-to-the-same-domain-as-the-sit?replies=14)
 *  [WPUser939](https://wordpress.org/support/users/wpuser939/)
 * (@wpuser939)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086717)
 * I just put a dash at the end. Simple solution.
    [your-subject]-
 *  [atatreh](https://wordpress.org/support/users/atatreh/)
 * (@atatreh)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086733)
 * hi all ,
 * the solution is very simple
 * you have to set subject as required:
 * follow me , step by step :
 * you have to replace this in form tab
 * <p>Subject
    [text your-subject] </p>
 * replace it by :
 * <p>Subject (required)
    [text* your-subject] </p>
 * and then press save
 * That’s all 🙂
 *  Thread Starter [jmkt](https://wordpress.org/support/users/jmkt/)
 * (@jmkt)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086734)
 * Many thanks for all your comments folks. I certainly have my question answered
   now so will mark the topic as resolved.
 * Thanks again.
 *  [DavidFB](https://wordpress.org/support/users/davidfb/)
 * (@davidfb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/subject-configuration-error/#post-7086738)
 * Thanks Takayuki and others.
 * Seems the options where adding a bit of text outside the tag or making Subject
   required. I chose the second.
 * Now its fully validated.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/subject-configuration-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/subject-configuration-error/page/2/?output_format=md)

The topic ‘Subject Configuration Error’ 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

 * [configuration error](https://wordpress.org/support/topic-tag/configuration-error/)

 * 20 replies
 * 15 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/subject-configuration-error/page/2/#post-7086986)
 * Status: resolved