• Resolved vdberg

    (@vdberg)


    Hi there,

    Ive created a new contact form, and I want the from field to show the senders name and email adress, so that I can just hit reply on that same email to respond to my customers email. So in the from field I entered the following tags: [your-name] <[your-email]>, and then I save. I show me this message above the form settings: This contact form has a configuration error
    and also, under the from field box: This email address does not belong to the same domain as the site.
    When I test the email from my side, it seems to work fine, but I dont want to risk not receiving emails from my potential customers? Any suggestions of what Im doing wrong Please?

    Thank you, and have a great day,
    Gert.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 7 replies - 1 through 7 (of 7 total)
  • barnez

    (@pidengmor)

    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. Such messages are often 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 ==
    To: [email protected]
    From: [your-name] <[email protected]>
    Subject: Re: [your-subject]
    Additional Headers: Reply-To: [your-email]

    What happens and why:

    1. The mail is sent from the contact form to the email address specified in the TO field.
    2. When you receive the message, it will have the sender’s name and be from the noreply email address specified in FROM (This doesn’t need to exist, but it does need to be @your-domain.com).
    3. 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]
    4. 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.
    5. 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]

    So, although most users, including myself, much preferred the old way of being able to see the sender’s email address in the FROM column of the email client, this change is now necessary due to the need to prevent emails from being identified as spam.

    Thread Starter vdberg

    (@vdberg)

    Mate, you are a legend!

    Thanks for the help, Ive got it sorted.

    So, the from email have to be from your domain to assure the email dont go to the junk folder? is that my junk folder or my customer(in this case the sender)

    anyway, thanks for the help, and have a great day!
    Gert.

    barnez

    (@pidengmor)

    No problem ??

    The changes will prevent the mail from being rooted into the spam folder of the address listed in the TO field in either:

    1. MAIL (in this case, your site’s email account)
    2. MAIL (2) (the sender/your customer’s email account via the autoresponder)

    Please mark this post as RESOLVED so others can use it for guidance.

    Thread Starter vdberg

    (@vdberg)

    Thanks again.
    [ redacted ]

    Sketch

    (@willsketch)

    I just discovered this issue and I do understand the issue with junkers and spammers. Great idea but I found a flaw during testing. Let’s say my domain name is example.com, so I filled out the “From” field as follows [your-name] <[email protected]>… Problem solved.

    The downside is, the recipient (me or my colleagues) will get an email with the senders name but our email address next to his/her name:

    Joe[[email protected]] via example.com

    This is what I see in Outlook or Gmail after testing.

    Shouldn’t it have “Joe’s” email next to his name. Sure this is great because it let’s us know who the message is for and that he filled out the contact form, but “Joe” doesn’t work for example.com so I should not see my email next to his name.

    I hope that makes sense.

    barnez

    (@pidengmor)

    @willsketch

    You make total sense, and this change is what most users are finding so odd about the new configuration. The justification is that the FROM address is correct as the mail was sent from the contact form on the website, rather than from the user’s own email client.

    The best solution to be clear about who actually sent the email is to use “noreply” ([email protected]) in FROM so it is clear this is *not the sender’s email* address, and to include the sender’s email in the MESSAGE BODY:

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

    [your-message]

    This message was sent via the contact form at …..

    This way the message itself is headed by the sender’s actual name and email address.

    @willsketch

    I also used the [your-name] <[email protected]> method.

    In my email client called Postbox I don’t see an email with the senders name but my own email address next to it, like you do.

    In Postbox in the “From” tab I just see the real name of the sender. When I open the mail I see the real name of the sender next to his/her own email address.

    Maybe it depends of which email client you use?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘configuration error come up, but form is working’ is closed to new replies.