Skip to main content

Sendgrid Provider

info

Using this provider requires a Sendgrid account. You can create one here.

Sendgrid is a cloud-based email delivery and management platform that provides businesses with a solution for sending transactional and marketing emails. It offers a set of tools and APIs that enable developers to integrate email functionality into their applications, websites, or software products.

Configuration

Before you start using the App, configure your Sendgrid Account:

tip

Want to test messages? Working on the application code? See the testing section.

Now you can configure EAM:

  1. Open the Emails and Messages app in Saleor Dashboard
  2. Click on Add provider
  3. Choose Sendgrid
  4. Provide configuration name and API key and click on Save provider
  5. Application will redirect automatically to the configuration details
  6. Navigate to Sender section and choose sender. Save the changes
  7. In the events section, assign dynamic templates to events. Save the changes

The application is now configured.

Testing

Using a Gmail account for testing may not be possible due to security restrictions. To test the application, you can test the mailbox at MailSlurp.

  1. Create an account at MailSlurp
  2. Create a new inbox in MailSlurp
  3. Use the inbox address to [create a new sender in Sendgrid]https://docs.sendgrid.com/ui/sending-email/senders)
  4. Confirm the sender by clicking on the link in the MailSlurp inbox
  5. Configure the provider in the Emails and Messages app to use the new sender
caution

Unless a sandbox mode is enabled in the provider configuration, the emails will be sent to the customers. Make sure to use a test account.