docs: update SMTP URI format, wrap with code mark

pull/90/head
moonrailgun 2 years ago
parent 4abf332b94
commit fa8ab2681c

@ -10,7 +10,7 @@ Only simple mail service (SMTP) is used in `Tailchat` because only one-way sendi
In order to enable the service, we need to set the following in the environment variable:
- `SMTP_SENDER`: sender information, the general format is `xxx@example.com` or `"YourName" xxx@example.com`
- `SMTP_URI`: SMTP mail service address, follow the international common URI format: <protocol>://<username>:<password>@<host>:<port>/<other-info>
- `SMTP_URI`: SMTP mail service address, follow the international common URI format: `<protocol>://<username>:<password>@<host>:<port>/<other-info>`
## Auxiliary testing using cli

@ -10,7 +10,7 @@ title: SMTP 服务(可选)
为了启用该服务,我们需要在环境变量中设置如下内容:
- `SMTP_SENDER`: 发送人信息, 一般的格式是 `xxx@example.com``"YourName" xxx@example.com`
- `SMTP_URI`: SMTP邮件服务地址, 遵循国际通用URI格式: <protocol>://<username>:<password>@<host>:<port>/<other-info>
- `SMTP_URI`: SMTP邮件服务地址, 遵循国际通用URI格式: `<protocol>://<username>:<password>@<host>:<port>/<other-info>`
## 使用 cli 进行辅助测试

Loading…
Cancel
Save