Skip to content

Commit 4fb35fb

Browse files
authored
Update SMTP config (#208)
2 parents 2748bc1 + 0c624f7 commit 4fb35fb

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

content/collections/reference/configuration.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,14 @@ The logger section configures logging and error notification settings.
9393
name="logger.smtp.host"
9494
type="string"
9595
description="SMTP server hostname."
96-
default="smtp-relay.sendinblue.com"
96+
default="smtp-relay.brevo.com"
97+
/>}}
98+
99+
{{< refItem
100+
name="logger.smtp.port"
101+
type="number"
102+
description="SMTP server port."
103+
default="587"
97104
/>}}
98105

99106
{{< refItem

content/deployment/how-to/deploy.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,22 @@ This section uses [Ansible Vault](https://docs.ansible.com/ansible/latest/vault_
218218

219219
This section describes how to configure the engine to use a specific SMTP server to send email notifications when it encounters errors during the tracking process. This helps you stay informed about issues that need attention and allows you to restart the tracking process if needed.
220220

221-
1. Get the SMTP credentials (host, username, password) from your email provider
221+
1. Get the SMTP credentials (host, port, username, password) from your email provider
222222

223223
2. Update collection SMTP configuration within the `logger` key of `@opentermsarchive/engine` in the `config/production.json` file:
224224

225225
```json
226226
"logger": {
227227
"smtp": {
228228
"host": "<smtp_host>",
229+
"port": <smtp_port>,
229230
"username": "<smtp_username>"
230231
},
231232
},
232233
```
233234

235+
> **Note**: If the default port (587) is blocked by your hosting provider, you can try using 2525 as an alternative.
236+
234237
3. Store the password in `deployment/.env`:
235238

236239
```shell

0 commit comments

Comments
 (0)