Any decent web application has to communicate with users on multiple levels. It should be able to send mails, SMS messages, and a lot more — to ensure good user engagement.
We can use it in a web application to easily send out mails using a configured SMTP server. Here, we will walk through the steps for using PHP Mailer to send mails using AWS SES, as well as Gmail.
If you would like to skip the Composer install, you can just download the code from its Github repository, and save it in a modules folder — in the include_path