0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/connector-smtp/docs/config-template.json
Darcy Ye f8710e147d
feat(core): add smtp connector (#1131)
* feat(connector-smtp): add smtp connector

* feat(connector-smtp): fix UTs
2022-06-17 10:52:35 +08:00

33 lines
964 B
JSON

{
"host": "<test.smtp.host>",
"port": 80,
"password": "<password>",
"username": "<username>",
"fromEmail": "<notice@test.smtp>",
"templates": [
{
"contentType": "text/plain",
"content": "This is for testing purposes only.",
"subject": "Logto Test with SMTP",
"usageType": "Test"
},
{
"contentType": "text/plain",
"content": "This is for sign-in purposes only.",
"subject": "Logto Sign In with SMTP",
"usageType": "SignIn"
},
{
"contentType": "text/plain",
"content": "This is for register purposes only.",
"subject": "Logto Register with SMTP",
"usageType": "Register"
},
{
"contentType": "text/plain",
"content": "This is for forgot-password purposes only.",
"subject": "Logto Forgot Password with SMTP",
"usageType": "ForgotPassword"
}
]
}