Support » Plugin: Contact Form 7 » "From" field showing configuration error…

  • Resolved opusxxvii

    (@opusxxvii)


    Under the e-mail tab of a contact form it says “this email address does not belong to the same domain as the website”, in red, although I am only using short codes in the field. I have two identical sites, one in English, the other in German. This error ONLY appears in the German version. Please advise. Thank you.

    https://wordpress.org/plugins/contact-form-7/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi opus,

    use this entry in the field “From”:
    [Your-name] <wordpress@domain.de>
    (Enter your own domain behind @)
    See also here on the sixth picture.

    HTH

    Best regards
    Hans

    Thanks for suggestion, Hans, but I think I should clarify. The email is “From” the user, the person filling out the form, not from my site. The information in this field is their name and address which is populated via shortcode. No domain is specified. The error is returned because the plugin’s code assumes a specific domain should be entered. This is a code/design issue. It should be noted that the form functions as desired, so I simply ignore the error.

    My main purpose here is to bring it to the developer’s attention so that the plugin can be improved upon. Hoffentlich habe ich mich da deutlicher ausgedrückt. Danke nochmals.

    This is how it needs to be and works for me under E-mail tab:

    From: [your-firstname] [your-lastname] <[your-email-address]>

    I want the user’s name and email address to show in my inbox, not my own.

    @opusxxvii

    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] <wordpress@your-domain.com>
    Additional Headers: Reply-To: [your-email]

    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).

    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.

    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]

    Understood, yes, that satisfies both requirements. Thank you.

    🙂

    Happy to hear that helped. I also miss having the sender’s email address in the From column when I receive their first message, but I’m getting used to the new approach.

    BW

    What is the solution if I want to keep my website domain in the “From” field? I tried the additional header, but it does not work.

    Still need to know EXACTLY what to plug into the “from” field…thanks!

    @purebliss

    What is the solution if I want to keep my website domain in the “From” field? I tried the additional header, but it does not work.

    What error do you see? Is the email address in the FORM a required field? For example [email* your-email]

    @ninajablonski

    Still need to know EXACTLY what to plug into the “from” field…thanks!

    That depends on your mail-tags. Use the mail-tag where the user enters their name (e.g. [your-name] ), and then the wordpress@your-domain.com email address (replacing your-domain.com with your actual domain name). If you still have problems, post a screenshot of the FORM in the WordPress dashboard.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘"From" field showing configuration error…’ is closed to new replies.