Sending Emails from PHP using Amazon SES

To create a PHP script to sent email using Amazon SES, create a folder

Install phpMailer using composer

Create a PHP file with following content

Now test it by running