Note: For customers using SendGrid to send email through The Layer, please note that 2FA is required as of Oct 31, 2020.
Setting up The Layer to use SendGrid requires you to generate an API key and enable 2FA in your SendGrid account.
Within SendGrid Account
Create a SendGrid API Key and don’t lose it. Learn more from SendGrid
Enable Two-Factor Authentication in SendGrid. Learn more from SendGrid
Setup SendGrid in The Layer
Using the information from SendGrid's article "Integrating with the SMTP API," we can set up the email server in The Layer.
When setting up a Mail Agent, use the following details:
Email User Name:
Email Password: The API key you generated earlier.
Use SSL: checked
Click Test and wait for the message to arrive.