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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!