Question
Can I Use An External SMTP Service To Send Emails From My PHP Application From My Domain Name?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×