Report this

What is the reason for this report?

Can I Use An External SMTP Service To Send Emails From My PHP Application From My Domain Name?

Posted on November 27, 2020

I setup Postfix on my server which also runs my associated website. After sending a test email I received a message stating the server was associated with spam and blocked from sending to gmail. I cannot afford a dedicated server at this stage of my development but I need a method to send emails for forgotten passwords, 2FA and occasional newsletters and they need to come from my domain name. Can I do this from PHP using Google’s SMTP server and my domain name? I’m not finding good documentation on that process.

Thanks!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.