• Resolved swamparoo

    (@swamparoo)


    I’ve noticed that Contact Form 7 now checks for possible configuration errors. The issue, though, is that it keeps on popping up the notice, even after you’ve dismissed it countless times before.

    For my contact form, it says I have two configuration errors.

    1. In the from area, I have the following:

    [your-name] < [your-email]>

    I find it looks better having it formatted this way. I have tested the form many times and have yet to have any errors with this.

    2. For the subject, I have the following:

    [your-subject]

    I don’t see how that’s a configuration error. Whatever subject the user enters when filling out the form is what the subject of the email ends up being.

    I understand the reasoning behind attempting to detect potential configuration errors, however, it would be nice to have an option to not have it keep popping up. Now, it’s just down right annoying.

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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:

    == MAIL ==
    From: [your-name] <[email protected]>
    Subject: Re: [your-subject]
    Additional Headers: Reply-To: [your-email]

    What happens and why:

    1. When you receive the message, it will have the sender’s name and be from the “wordpress” email address specified in FROM (Depending in your hosts, this may need to be a real email address (test to see if it processes), and it does need to be @your-domain.com).
    2. By including Re: in the SUBJECT, you will ensure that the field always has some text in it, even if the sender does not complete this field (Best practice is to ensure that there is at least some text in the subject field). Or, you can make the SUBJECT a required field in the *Form* by adding an asterisk: [text* your-subject]
    3. Adding the Reply-To: [your-email] in ADDITIONAL HEADERS means that you can reply to the sender by hitting the Reply button in your email client.
    4. If you want to actually see the sender’s email address in the message you receive you can include it in the MESSAGE section. For example:

    MESSAGE BODY:

    From: [your-name] <[your-email]>
    Subject: [your-subject]

    [your-message]

    Thread Starter swamparoo

    (@swamparoo)

    I appreciate the information. While I understand your reasons given, I’ve decided to keep things as they are. I have added an asterisk next to the text for the subject to make it a required field. There’s no potential for the email being flagged as spam as I don’t have any spam filtering enabled. My site is running on an unmanaged VPS and I haven’t installed any spam filtering system.

    I do have a shortcode in the email message to have the sender’s IP within the message using:

    [wpcf7.remote_ip]

    I know people can use VPNs, proxies, and so forth. However, should I ever have trouble from an IP or IP range, then I can easily add them to my VPS’ firewall.

    After a quick search through the coding, I was able to easily remove the persistent notification message that kept appearing.

    Got it. You can also try this in your wp-config if you removed the notification manually:

    define( 'WPCF7_VALIDATE_CONFIGURATION', false );

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

The topic ‘Cannot Dismiss Configuration Errors’ is closed to new replies.