Welcome to Centmin Mod Community
Become a Member

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

    4,087
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    1:40 PM
    Nginx-1.25.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

    54,911
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    587
    265
    63
    Jun 8, 2014
    Ratings:
    +489
    Local Time:
    7:40 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

    154
    28
    28
    Dec 21, 2017
    Ratings:
    +63
    Local Time:
    1:40 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

    54,911
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    9:40 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    154
    28
    28
    Dec 21, 2017
    Ratings:
    +63
    Local Time:
    1:40 PM