Skip to content
Home » Documentation » Contact Form 7 – Dynamic Text Extension » How to resolve configuration errors » Configuration Errors in the Mail tab

Configuration Errors in the Mail tab

These are errors that you may come across while using the dynamic_email or dynamic_hidden form tags in the mail template editor of Contact Form 7.

Only email, dynamic email, hidden, or dynamic hidden form tags can be used for email addresses.

This error means a form tag that is not an email, dynamic_email, hidden, or dynamic_hidden form tag is being used as the value of the To or From fields or as values for the Cc, Bcc, or Reply-To headers.

To resolve, you need to update form tag that you’re using to select an email address to one of these form tags.

This configuration error extends Contact Form 7’s “Invalid mailbox syntax is used” error.

The dynamic hidden form tag must have a default value.

This error means a dynamic_hidden form tag that is being used as the value of the To or From fields or as values for the Cc, Bcc, or Reply-To headers is resulting as empty or blank. If this field is empty, it can cause an error in the mail-sending function on some hosts.

To resolve, you need to ensure that the default value always results in a valid email address by prepopulating the field with a static value or a dynamic value via shortcode, so long as it’s never empty.

This configuration error extends Contact Form 7’s “There is a possible empty field” error.

The dynamic form tag must be required or have a default value.

This error means a dynamic_email form tag that is being used as the value of the To or From fields or as values for the Cc, Bcc, or Reply-To headers is resulting as empty or blank. If this field is empty, it can cause an error in the mail-sending function on some hosts.

To resolve, you need to set the field as required OR ensure that the default value always results in a valid email address by prepopulating the field with a static value or a dynamic value via shortcode, so long as it’s never empty.

This configuration error extends Contact Form 7’s “There is a possible empty field” error.

The default dynamic value does not result in a valid email address.

This error means a dynamic_email or dynamic_hidden form tag that is being used as the value of the To or From fields or as values for the Cc, Bcc, or Reply-To headers is return a value that does not follow valid email address syntax, e.g. “[email protected]”. If this field is invalid, it can cause an error in the mail-sending function on some hosts.

To resolve, you need to ensure that the value always results in a valid email address that follows the appropriate email address syntax.

This configuration error extends Contact Form 7’s “Invalid mailbox syntax is used” error.

The dynamic email address for the sender does not belong to the site domain.

This error means a dynamic_email or dynamic_hidden form tag that is being used as the value of the From field is a valid email address, but it does not belong to your website’s domain. If your website sends the automated email from your web server but the email address says “[email protected]” (and your web server isn’t Google or Gmail), then there is a high risk that the relaying mail servers will identify your email as spam due to the spoofed email address. Identifying automated emails sent from your web server as such will reduce that risk.

To resolve, you need to ensure that the value always results in a valid email address that belongs to your website’s domain.

This configuration error extends Contact Form 7’s “Sender email address does not belong to the site domain” error.

Contact Form 7 Documentation

Check out these pages for more information about the configuration errors and the validator from Contact Form 7.

Related Post Module Attributes Before

array(29) {
  ["post_type"]=>
  string(4) "post"
  ["post_id"]=>
  string(1) "0"
  ["exclude"]=>
  string(1) "0"
  ["title"]=>
  string(32) "Related Articles & Tutorials"
  ["description"]=>
  string(0) ""
  ["max"]=>
  string(1) "3"
  ["post_ids"]=>
  string(0) ""
  ["exclude_ids"]=>
  string(0) ""
  ["is_series"]=>
  string(0) ""
  ["featured_term"]=>
  string(3) "307"
  ["exclude_terms"]=>
  string(0) ""
  ["exclusive"]=>
  string(1) "1"
  ["order"]=>
  string(4) "DESC"
  ["show_image"]=>
  string(2) "on"
  ["image_size"]=>
  string(6) "medium"
  ["menu_order_label"]=>
  string(0) ""
  ["show_order_label"]=>
  string(2) "on"
  ["show_date"]=>
  string(2) "on"
  ["show_meta_keys"]=>
  string(2) "on"
  ["show_modified"]=>
  string(0) ""
  ["show_author"]=>
  string(0) ""
  ["show_categories"]=>
  string(0) ""
  ["show_primary_category"]=>
  string(0) ""
  ["show_description"]=>
  string(0) ""
  ["show_reading_time"]=>
  string(2) "on"
  ["show_cta"]=>
  string(2) "on"
  ["cta"]=>
  string(9) "Read more"
  ["autoplay"]=>
  string(0) ""
  ["allow_sticky"]=>
  string(0) ""
}

Related Post Module Attributes

array(29) {
  ["post_type"]=>
  string(4) "post"
  ["post_id"]=>
  string(1) "0"
  ["exclude"]=>
  string(1) "0"
  ["title"]=>
  string(32) "Related Articles & Tutorials"
  ["description"]=>
  string(0) ""
  ["max"]=>
  string(1) "3"
  ["post_ids"]=>
  string(0) ""
  ["exclude_ids"]=>
  string(0) ""
  ["is_series"]=>
  string(0) ""
  ["featured_term"]=>
  string(3) "307"
  ["exclude_terms"]=>
  string(0) ""
  ["exclusive"]=>
  string(1) "1"
  ["order"]=>
  string(4) "DESC"
  ["show_image"]=>
  string(2) "on"
  ["image_size"]=>
  string(6) "medium"
  ["menu_order_label"]=>
  string(0) ""
  ["show_order_label"]=>
  string(2) "on"
  ["show_date"]=>
  string(2) "on"
  ["show_meta_keys"]=>
  string(2) "on"
  ["show_modified"]=>
  string(0) ""
  ["show_author"]=>
  string(0) ""
  ["show_categories"]=>
  string(0) ""
  ["show_primary_category"]=>
  string(0) ""
  ["show_description"]=>
  string(0) ""
  ["show_reading_time"]=>
  string(2) "on"
  ["show_cta"]=>
  string(2) "on"
  ["cta"]=>
  string(9) "Read more"
  ["autoplay"]=>
  string(0) ""
  ["allow_sticky"]=>
  string(0) ""
}