fundaci3
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 1
Hello, all. I'm looking for some help to prevent email message validation failures, and flagging as spam.
I use PHP mail() on my website to allow visitors to send me messages. In an effort to prevent those messages from landing in my Spam folder, I've set appropriate header values (e.g., "From", "Reply-To", etc.), and although the messages haven't actually been routed to the Spam folder, Gmail views them as potential spam or phishing attempts. A look at the "original message" details shows the following:
As far as I can tell, what's needed is a DNS record that does designate the IP address in question as a permitted sender. So I added a record like the following via the cPanel, per some online research:
The result was that test messages sent from my site didn't come through at all, so I went back to cPanel to edit the DNS record I had created and found it had some additional options for me to select. Not really knowing which of the 3 mail-related options I should select (I'm kind of a newbie with DNS stuff), I went for all of them The resulting record became the following:
Now, test messages again arrive in my Gmail inbox, but I still have the "softfail" issue noted above. Can anyone offer me some guidance here? Thank you!
I use PHP mail() on my website to allow visitors to send me messages. In an effort to prevent those messages from landing in my Spam folder, I've set appropriate header values (e.g., "From", "Reply-To", etc.), and although the messages haven't actually been routed to the Spam folder, Gmail views them as potential spam or phishing attempts. A look at the "original message" details shows the following:
spf=softfail (google.com: domain of transitioning me@mydomain.x10host.com does not designate 123.45.67.890 as permitted sender) smtp.mailfrom=me@mydomain.x10host.com
As far as I can tell, what's needed is a DNS record that does designate the IP address in question as a permitted sender. So I added a record like the following via the cPanel, per some online research:
TXT mydomain.com. "v=spf1 ip4:123.45.67.890 ~all"
The result was that test messages sent from my site didn't come through at all, so I went back to cPanel to edit the DNS record I had created and found it had some additional options for me to select. Not really knowing which of the 3 mail-related options I should select (I'm kind of a newbie with DNS stuff), I went for all of them The resulting record became the following:
TXT mydomain.com. "v=spf1 mx a ptr ip4:123.45.67.890 ~all"
Now, test messages again arrive in my Gmail inbox, but I still have the "softfail" issue noted above. Can anyone offer me some guidance here? Thank you!