UNPKG

@jackdbd/notifications

Version:

Functions used to send notifications to various channels (Telegram, email, etc)

16 lines (9 loc) 549 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@jackdbd/notifications](./notifications.md) &gt; [sendEmailViaSendGrid](./notifications.sendemailviasendgrid.md) ## sendEmailViaSendGrid variable Send an email to one or more recipients, using the SendGrid API. https://docs.sendgrid.com/api-reference/mail-send/mail-send\#body <b>Signature:</b> ```typescript send: ({ from, html, sendgrid_api_key, subject, to }: Config, options?: Options) => Promise<SuccessResponse> ```