• I am using contact form 7 with bluehost. I wanted [email protected] to show in the from field instead of < username@box###.BlueHost.com >.

    To work around this, I used the plugin WP-Mail-SMTP.

    Now I’m getting a spam message from gmail on the contact form email. The message says that the email might not have come from the email that the user puts in the form. For example if the user says his email is from yahoo, it says this message is not from yahoo.

    Bluehost wants me to do this:https://my.bluehost.com/hosting/help/206 which is not helpful, I don’t know where the .ini file is or how many there are.

    I would love to hire a developer to do this. I’ve already thought of that.

    I’m at
    https://annmariedavis.com/contact-2-2/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your php.ini file should be in the public_html folder. You can get there by logging in to your Control Panel and clicking the Hosting tab. Scroll down to the File Management section and click File Manager. On the popup select Web Root. Once that loads there will be a file tree on the left. Select the public_html folder. In the middle section you will see all of the files in public_html. Scroll to find php.ini and click it once. Then click Edit at the top of the screen. This file is pretty big, so you’ll want to hit Control+F and search for “sendmail” until you get to the correct line. Then add the f’[email protected]’ to the end of that line and click save.

    If you don’t see a php.ini file, you’ll want to follow these steps to create one: https://my.bluehost.com/cgi/help/128#new

    Thread Starter AnnieM

    (@anniem)

    It worked.

    You know, the contact form email still ended up in my spam box, but it didn’t flash the warning across the top once I put it in my inbox. Ir’s probably just google being weird. Thanks so much.

    I’m glad I could help.

    Thanks here too… that helped me as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Contact form 7 emails spammed by gmail’ is closed to new replies.