SMTP support (#146)
This commit is contained in:
16
README.md
16
README.md
@@ -33,7 +33,9 @@ wireguard interface stats. See the `cap_add` and `network_mode` options on the d
|
||||
|
||||
Set the `SESSION_SECRET` environment variable to a random value.
|
||||
|
||||
In order to sent the wireguard configuration to clients via email (using sendgrid api) set the following environment variables
|
||||
In order to sent the wireguard configuration to clients via email, set the following environment variables:
|
||||
|
||||
- using SendGrid API
|
||||
|
||||
```
|
||||
SENDGRID_API_KEY: Your sendgrid api key
|
||||
@@ -41,6 +43,18 @@ EMAIL_FROM_ADDRESS: the email address you registered on sendgrid
|
||||
EMAIL_FROM_NAME: the sender's email address
|
||||
```
|
||||
|
||||
- using SMTP
|
||||
|
||||
```
|
||||
SMTP_HOSTNAME
|
||||
SMTP_PORT
|
||||
SMTP_USERNAME
|
||||
SMTP_PASSWORD
|
||||
SMTP_AUTH_TYPE
|
||||
EMAIL_FROM_ADDRESS: the sender's email address
|
||||
EMAIL_FROM_NAME: the sender's name
|
||||
```
|
||||
|
||||
### Using binary file
|
||||
|
||||
Download the binary file from the release and run it with command:
|
||||
|
||||
Reference in New Issue
Block a user