Configuring a Simple Email Service
Amazon already has a service called Simple Email Service that we can use in order to send email through our application. We will be running the service in sandbox mode, which means that we will also be able to send emails to verified email addresses. This can be changed if you plan to use the service in production, but for the purposes of this book, it will suffice to just have it running in sandbox mode.
Note
If you plan to have this application running in production and wish to move out of the Amazon SES sandbox, you can easily open a support case for increasing the email limit. To send the request, you can go to the SES home page, and on the left-hand menu, under the section Email Sending, you will find the link Dedicated IPs
. There, you will find more information and also a link where you can apply to increase your email limit.
To get it working, we will need to have two email accounts that we can use. In my case, I have my own domain. I have also created...