0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/connector-sendgrid-mail/docs/config-template.md
Darcy Ye b887655827
feat(connector-sendgrid-email): add sendgrid email connector (#850)
* feat(connector-sendgrid-mail): add SendGrid Mail connector

* feat(core): add SendGrid Mail connector to initializer and fix usageType
2022-05-18 11:39:36 +08:00

26 lines
687 B
Markdown

```json
{
"apiKey": "<api-key>",
"fromEmail": "noreply@logto.test.io",
"templates": [
{
"usageType": "SignIn",
"type": "text/plain",
"subject": "Logto SignIn Template",
"content": "This is for sign-in purposes only. Your passcode is {{code}}.",
},
{
"usageType": "Register",
"type": "text/plain",
"subject": "Logto Register Template",
"content": "This is for registering purposes only. Your passcode is {{code}}.",
},
{
"usageType": "Test",
"type": "text/plain",
"subject": "Logto Test Template",
"content": "This is for testing purposes only. Your passcode is {{code}}.",
}
]
}
```