By cjoel
I am using Gsuite for email on my VPS. It is configured properly and works for sending and receiving emails except when I use the PHP form (again, setup properly). The functionality of the form itself works so I’m certain it’s something to do with the mail servers. The form submission emails aren’t being sent at all, not to any email address I use. How can I get this working? I know it has to do with PHP/mail servers/Gsuite but I don’t know beyond that.
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!
Hi @cjoel
Without seeing any error logs, then it’s difficult to tell what’s going on, but a lot of new DigitalOcean accounts has SMTP blocked to prevent them from being used as spammers. Run this command to check if you’re being blocked from reaching Google’s SMTP:
telnet aspmx.l.google.com 25
If you cannot connect, then you need to create a ticket with Support in the control panel and ask to un-block SMTP.
I’m using the G Suite via MX entries and Exim mail server is that is what you mean?
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.