Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to send email using php sendmail and google workplace smtp ?
I was having issues using php sendmail and emails getting blocked so I decided to try google workspace. I have successfully setup the email to receive but I am stuck trying to get php sendmail to send emails from my domain. I have seen tutorials on here about configuring apps for google’s smtp settings but how do I send email from my webapp so it comes from my domain ?
Also, I have two droplets one is my website xxxx.com and the other is my webapp at app.xxxx.com I need to be able to send email from both.
Any help would be greatly appreciated. Thanks, james
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.×