Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
add doc on smart host configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Nov 16, 2023
1 parent df5bd98 commit 1e17ee4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
13 changes: 11 additions & 2 deletions en/doc/references/administration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,19 @@ Port used by the service. Change in case of conflict.

### SMART_HOST

> `localhost`
> `smtp://localhost`
[Smart Host](https://en.wikipedia.org/wiki/Smart_host) to use for sending emails.
[Smart Host](https://en.wikipedia.org/wiki/Smart_host) à utiliser pour l'envoi d'emails.

Used by [modemailer](https://nodemailer.com/) to create a mail transport.

Additional configuration options can be added to the url as query parameters.

```
# allow self-signed certificates:
smtp://localhost:465?tls.rejectUnauthorized=false
```
See the full [list](https://nodemailer.com/smtp/).


### TRUST_PROXY
Expand Down
12 changes: 11 additions & 1 deletion fr/doc/references/administration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,20 @@ Port utilisé par le service. Changer en cas de conflit.

### SMART_HOST

> `localhost`
> `smtp://localhost`
[Smart Host](https://en.wikipedia.org/wiki/Smart_host) à utiliser pour l'envoi d'emails.

Utilisé pour créer le transport par [modemailer](https://nodemailer.com/).

Les options de configuration peuvent être donénes sous forme de *query string* :

```
# autorise l'utilisation de certificats self-signed:
smtp://localhost:465?tls.rejectUnauthorized=false
```
D'autres options utiles peuvent être : `?logger=true&debug=true` pour activer le mode verbeux. Voir la [liste des options](https://nodemailer.com/smtp/).


### TRUST_PROXY

Expand Down

0 comments on commit 1e17ee4

Please sign in to comment.