Send Emails from Your PHP App in Minutes: Step by Step Composer & PHPMailer Setup Easy Tutorial
Let’s build a simple app to send emails—perfect for extending or integrating into your website. I’ll cover Composer and PHPMailer installation, plus the app code, with timestamps below!
Link to written tutorial and code snippets:
https://websonic.co.uk/blog/how-to-use-gmail-as-your-smtp-server-for-sending-emails-with-php
Timecodes
0:00 – Intro
0:10 – Installing Composer on windows
0:43 – Adding PHP to your path
1:20 – Installing Composer on Linux
1:38 – Installing PHPMailer library
2:14 – Obtain SMTP credentials
3:07 – Create the App
5:58 – Result and Thanks
Feel free to leave any questions or comments below, and I’ll be happy to help. Happy coding!
by Web Dev Blueprint
linux smtp server