Открыта бета 1С:ПредприятияОставить заявку
N

Notification sendgrid

Sendgrid notification provider for Medusa

Входит в @medusajs/medusa, ставить отдельно не нужно
Категория
Создано
Версия
2.22.4
Последнее обновление
7 часов назад
Ежемесячные загрузки
Загрузка данных

Medusa logo

@medusajs/notification-sendgrid

Documentation | Website

Building blocks for digital commerce

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

SendGrid Notification Module Provider for Medusa: sends email notifications through SendGrid, using SendGrid dynamic templates or raw HTML content. Use it to send transactional emails, such as order confirmations or password resets. It ships with and is registered through the path.

At a glance

Package
TypeModule Provider (Notification Module)
Provider ID
Registered by defaultNo
Import from

Features

  • Sends a notification's as a SendGrid dynamic template ID, with the notification's as the template data.
  • Sends a notification's ( and ) instead of a template when it's set.
  • Supports attachments, a per-notification address, and SendGrid through .

Installation

No installation needed. The provider is a dependency of .

Usage

Register the provider in the Notification Module's array in for the channel. Each channel can be handled by only one provider.

Configuration

OptionTypeDescriptionDefault
Read by the Notification Module. The channels this provider handles; use .
Required. Your SendGrid API key.-
Required. The default sender email address.-
Environment variableDescription
Value for , as used in the example above.
Value for , as used in the example above.

Resources