Discover Centmin Mod today
Register Now

Email Contact form email send from:

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pamamolf, Sep 2, 2020.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,846
    377
    83
    May 31, 2014
    Ratings:
    +723
    Local Time:
    3:07 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hello

    I am wondering what i can set on a contact form on a server that has no emails setup and has only a contact form to send only, what i should set the from: to avoid spam?

    As setting it to the same as destination will give a warning at Google gmail...

    Any ideas?

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    45,201
    10,280
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,934
    Local Time:
    10:07 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    From email should always be the email @domain.com of the site you're sending from (visitor reading/browsing on). So form on this forum should be from @centminmod.com which has valid PTR, DKIM, SPF, DMARC as outlined at Email - Steps to ensure your site/server email doesn't end up in spam inboxes

     
  3. deltahf

    deltahf Premium Member Premium Member

    367
    174
    43
    Jun 8, 2014
    Ratings:
    +284
    Local Time:
    8:07 AM
    Yep, it needs to be from the same domain.

    The contact form I use (WordPress plugin) inserts the actual user's email address in the "reply-to" field so you don't have do anything special to respond.

    I also have a Gmail filter set up to be sure that emails from my domain / contact form are never sent to spam. A bit of crap does come through, but some of the emails that arrive via my contact form are just too valuable and I can't afford to miss them.
     
  4. Meirami

    Meirami Active Member

    150
    26
    28
    Dec 21, 2017
    Ratings:
    +61
    Local Time:
    3:07 PM
    I'm also having problems with email. This is really tricky. I use host.domain.com to send email. It's for Nextcloud's password reset emails mostly. Every reset emails and test emails are in the gmail's spam folder. Sender is no-reply@host.domain.com. SPF, DKIM and DMARC are marked as pass. PTR is host.domain.com and it's ok. Mail-tester.com rates my emails 10/10. Mx records are set to improvmx and it's used to forward mails. There's catch all @host.domain.com and it forwards to my gmail. Same gmail I use to test this.

    Do you say that I should use @domain.com instead of @host.domain.com?

    I tested my IP and domain and they are not blacklisted. Any ideas what to try next?

    This line is from email headers. Is this wrong?
     
  5. eva2000

    eva2000 Administrator Staff Member

    45,201
    10,280
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,934
    Local Time:
    10:07 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    as per Email - Steps to ensure your site/server email doesn't end up in spam inboxes you need all SPF, DKIM and DMARC for both host.domain.com and domain.com done
     
  6. Meirami

    Meirami Active Member

    150
    26
    28
    Dec 21, 2017
    Ratings:
    +61
    Local Time:
    3:07 PM