: 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
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.
More posts by @Gloria169
1 Comments
Sorted by latest first Latest Oldest Best
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!
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.