Creating the SendGrid account

Before we start to code, we need to create a SendGrid account. We will use the trial account which is enough for our tests. Go to the SendGrid portal (https://sendgrid.com/) and click on the Try for Free button.

Fill in the required information and click on the Create Account button.

In the main page, on the left side, click on Settings, then go to the API Key section, follow the image shown here:

Then, we can click on the Create API Key button at the top-right corner. The page should look like this:

Fillin the ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.