By parrella20
Hi y’all,
I have a Web form I’m building for some staff members of my online community to use to notify members that their account has been suspended and for how long. No big deal, using html to POST to a PHPmailer script with all of Google’s SMTP settings (TLS mode) and the server Gmail account information filled in. It sends fine, but any account other than the backup account for the address (my personal email) receives it in the spam folder.
Now, I can understand if it was getting flagged as spam coming directly from my server, but it’s getting flagged after my server is authenticated through Google and sends it through the Gmail address.
Any idea why this is happening and what I can do to fix it? Is it because my IP (or the DO IP range) was flagged for spam from some other user?? Let me know if you need to see any of the scripts or my hosts file or anything, but everything is pretty much default.
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
When you’re sending things, could you state the content in the email. Some words trigger gmail spam filter.
Look if reverse DNS work http://remote.12dt.com/, if not rename your Droplet to e.g. example.com To do this go to Droplet,Settings,Rename
Every mail without reverse DNS is SPAM for Google
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.