Support » Plugin: Contact Form 7 » Question about tags, Form or Mail

  • Resolved tomkinsrichard


    I am not clear on the TAGS used in Contact Form 7.

    On the plugin’s Edit page there are Tabs marked, Form, Mail, Messages, and Additional Settings.

    On the Edit Form Tab Page there is an entry, [email* your-email] and on the Edit Mail Tab Page there is an entry, <[your-email]>.

    Both of these TAGS are the same text string, but are these the same TAG or are they different TAGS as a result of which Edit page they are on?

    I ask this as I struggle with the configuration checker saying, “This email address does not belong to the same domain as the site.” and I ask myself, how could the email be from the same site, being a TAG variable, we do not yet know what DOMAIN the tag is from as the website user has not yet entered any data into the form.

Viewing 4 replies - 1 through 4 (of 4 total)
  • What you set out on the Form (tab) gathers the information. What you set up in the Mail tab sends the gathered information.

    For each input area on the Form there has to be a corresponding one on the Mail tab if you want that info sent through

    The [email* your-email] is the input for the person filling out the form – their email address. The [your-email] (on the mail tab) is what sends the gathered email address as part of the emailed form message. N.B. the use of < & > has no bearing on sending the info – just layout decoration.

    Examples of form elements (Form tab) and Mail tags (set out in the Mail tab area)
    [text* your-name] becomes [your-name]
    [tel* tel-906] becomes [tel-906]
    [text* text-903] becomes [text-903]
    [date* date-559] becomes [date-559]
    [select* menu-366 (drop down menu) becomes [menu-366]

    Re. “This email address does not belong to the same domain as the site.” – this message has nothing to do with [email* your-email]. It is associated with the “From” area in the Mail tab. If for instance you use a hotmail or gmail address for the form to be sent to, rather than a domain associated address that warning message will occur. The form will however still send to whatever email address you put in. The warning message will not show on the front end of your website.

    If your domain was and your email address is you could set out the Mail tab as follows to get rid of that warning message.

    From [your-name] <>
    Subject Enquiry from
    Additional Headers Reply-To: [your-email]

    • This reply was modified 4 years, 1 month ago by NightL.

    [Resolved] “email address does not belong to the same domain as the site”

    Ah, I see it now, it was just a bit over the horizon, but the sun is starting to shine.

    Many thanks, I understand and follow what is going on and how things work.

    I must admit, I am acquiring a greater appreciation for the effort that went into the creation of this plugin.


    enjoy the discoveries and all those to come

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Question about tags, Form or Mail’ is closed to new replies.