Mobile app version of vmapp.org
Login or Join
Gloria169

: Is it considered spam to set "From: " header to the user's email in a contact form? I developed a contact form on a client's website. When a user submits it, the client gets an email. Is

@Gloria169

Posted in: #BestPractices #Email #Forms

I developed a contact form on a client's website. When a user submits it, the client gets an email.

Is it considered as spam (or against best practices) when emails sent from a website form have From: user_s_own_email@gmail.com header (with user's real address)?

The alternative is to have From: info@customers-website.com and a Reply-to: user_s_own_email@gmail.com, which is also not perfect usability-wise (if the client uses an email client that doesn't understand reply-to), but I don't know if that is better given that the other option might get marked as spam.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria169

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

Using the user's email address as the 'from' address in a form notification email is not a good idea because it will trigger many spam filters due to a "spoofed" sender. There are two systems which help detect spoofing: SPF and DKIM. SPF allows the email domain owner to specify which IP addresses and/or domains are valid senders for that domain. If the email message originates from an IP address not listed in the SPF record, email systems will (should) flag it as possible spam.

Also, DKIM is regarded as important by many email servers (Gmail et al) and is used to detect spoofed email addresses by adding a signature header which can be validated against a DNS record owned by the originating domain.

Recommendation: only send mail "from" email addresses that you control, and for which you have properly configured SPF and DKIM records. This will help ensure recipient servers don't classify the messages as spam.

Good luck!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme