Mail notifications¶
Notifications can be sent through SMTP.
Configuration¶
File
notif:
mail:
host: localhost
port: 25
ssl: false
insecureSkipVerify: false
from: ftpgrab@example.com
to: webmaster@example.com
| Name | Default | Description |
|---|---|---|
host1 |
localhost |
SMTP server host |
port1 |
25 |
SMTP server port |
ssl |
false |
SSL defines whether an SSL connection is used. Should be false in most cases since the auth mechanism should use STARTTLS |
insecureSkipVerify |
false |
Controls whether a client verifies the server's certificate chain and hostname |
username |
SMTP username | |
usernameFile |
Use content of secret file as SMTP username if username not defined |
|
password |
SMTP password | |
passwordFile |
Use content of secret file as SMTP password if password not defined |
|
from1 |
Sender email address | |
to1 |
Recipient email address |
Environment variables
FTPGRAB_NOTIF_MAIL_HOSTFTPGRAB_NOTIF_MAIL_PORTFTPGRAB_NOTIF_MAIL_SSLFTPGRAB_NOTIF_MAIL_INSECURESKIPVERIFYFTPGRAB_NOTIF_MAIL_USERNAMEFTPGRAB_NOTIF_MAIL_USERNAMEFILEFTPGRAB_NOTIF_MAIL_PASSWORDFTPGRAB_NOTIF_MAIL_PASSWORDFILEFTPGRAB_NOTIF_MAIL_FROMFTPGRAB_NOTIF_MAIL_TO
Sample¶

Last update:
2020-07-17 14:33:37
Created: 2020-07-07 20:06:09
Created: 2020-07-07 20:06:09