Support » Plugin: Contact Form 7 » The [your mail] issue

  • Resolved lewisevans777

    (@lewisevans777)


    I got confused reading all the threads about this, so can you please give me a simple solution to how the form filler’s email gets included in the ‘From’ field?

    Or are you saying this can no longer be done because of spam issues?

    Is the simplest thing to use the same email as in the ‘To’ field and simply include their email address in the body of the form in this way: From [your-name] <[your-email]>

    Thank you. Clarity around this will help a lot of people!

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

Viewing 15 replies - 1 through 15 (of 22 total)
  • please give me a simple solution to how the form filler’s email gets included in the ‘From’ field?

    To: anyvalidemailaddress@anyvaliddomain.com
    
    From: validemailaddress@yourdomain.com
    
    Subject: Site name - [your subject]
    
    Additional Headers: Reply-to: [your name] <[your email]>

    Let me know if you need any further explanation.

    Hi!
    I also have problem with “From”.
    I want to show [your-name][your-email] in that field, but then I get a syntex error message.
    If I put my email address in the field, it’s works fine, but then I just see my own email address at the overwiew in my inbox beside the subject.

    Screenshot: http://postimg.org/image/mshptb41j/

    What am I doing wrong?

    Exactly, that’s the point of the ‘From’ field. We should be able to see the author of the message and not ourselves, so it doesn’t make sense to write an e-mail with our domain!! The update is totally useless and now what? I have to edit ~150 sites!

    @zazarza – If you can provide the contents of the From & Mail sections of your form in a separate post, I’ll be happy help with your particular problem there.

    @buzztone -I don’t understand what you mean by the first, but I’ll write a new post.
    Thank you!

    This still doesn’t make sense.

    To: anyvalidemailaddress@anyvaliddomain.com – I want it to come to me, not the cliient who filled it in!

    From: validemailaddress@yourdomain.com – It is not from me! It is from my client!

    Subject: Site name – [your subject]

    Additional Headers: Reply-to: [your name] <[your email]> – What is this for?

    Thank you for your clarifications on this.

    By the way, you are multiplying the problem by asking people to keep starting separate threads. I was hoping to clear up this mess here.

    :0)

    lewisevans777,

    The thing with contact forms and the user’s email is a problem because when you send mail via the PHP function (as CF7 does) most mail hosts look at the FROM field and check where the mail came from (aka your server and not the user’s email’s server).

    If you configure CF7 to use their email, and lets say they input “user123@gmail.com” and you send out a message using the PHP function with “user123@gmail.com” as FROM. Your mail server will see this and know it’s not coming from GMail. This makes it an issue for SPAM and JUNK filters as well as maintaining your domain’s reputation.

    The best way to get around this is to set ADDITIONAL HEADERS so when you hit reply-to, you get the user’s email address instead of an email on your server.

    What I usually do is create a forwarder or email account called “website@mydomainnamehere.com” so the client knows the message came from the website. And when they go to reply, the additional header provides the user’s email.

    So.. what this is doing, is breaking the usability of the forms for my end users. They now have to dig into the body of the email to get the address to reply to, and then edit the headers to make sure the reply address is correct.

    I understand the spam issue, but for a corporate site, there is no email coming from where this site is anyway other than the forms.

    @andrew.Bloom – thanks for assisting. That’s a nice explanation of the issues involved.

    To: anyvalidemailaddress@anyvaliddomain.com – I want it to come to me, not the cliient who filled it in!

    Use your email address to send it to you.

    But you can send the email anywhere. CF7 users use the To: field to send emails to lots of different places.

    It just needs to be “a valid email address on any valid domain”.

    If you guys want more information:
    http://contactform7.com/best-practice-to-set-up-mail/

    @karl.Jacobs
    They won’t have to “dig” into the body of the email to get the address of the person who sent the message. If you set the Additional Headers, Reply-To, it should automatically set the sender’s actual email when they hit “Reply”. No extra effort needed. Read the link above for more info on setting it up.

    I think people are freaking out about this a little too much. The plugin author is just trying to save you trouble down the road by validating this information for you.

    Additional Headers: Reply-to: [your name] <[your email]> – What is this for?

    This lets you hit Reply to reply to a customers email address in your email application.

    Many CF7 users in the past used the form users email address in the Form: field mainly to allow this quick and easy replying to emails.

    This is now increasingly risky due to the reasons explained by Andrew.Bloom.

    @lewisevans777 – please let us know if you need any further explanation.

    (This makes a good reminder to check the support forum for any plugins you are updating before you go ahead and update everything…)

    Thanks for the all the input, both @buzztone and @andrew.Bloom.

    I guess my lack of knowledge of php hampers me.

    I get it now. I still feel a bit nervous about it, but will test your suggestions on one form before applying it to all the forms I have in place at this time.

    Much appreciated.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘The [your mail] issue’ is closed to new replies.