Update 0.1.6.md

This commit is contained in:
Stefan Pejcic 2024-04-09 20:26:42 +02:00 committed by GitHub
parent f5946f075f
commit f14f91db86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,7 @@ Not yet released.
- [DNS zone export for *OpenPanel > Edit DNS Zone*](#export-dns-zone)
- [Selfsigned SSL inside docker containers for Nginx & Apache](#selfsigned-ssl)
- [Notifications on admin logins from new IP address](#admin-login)
- [Email alerts for the Notifications center](#email-alerts)
### 💅 Polish
- Added check if docker images exist before creating plans.
@ -77,7 +78,33 @@ then reload the OpenAdmin service:
service admin reload
```
---
### Email Alerts
You can now receive email alerts from the Notifications center!
![email_alert](https://i.postimg.cc/904QNyf9/image.png)
- To enable email alerts, set email address to receive alerts: `opencli config update email stefan@pejcic.rs`
- To disable email alerts simply remove the email address: `opencli config update email ''`
- To check current email: `opencli config get email`
For sending emails, you can configure outgoing SMTP server:
```
[SMTP]
mail_server=
mail_port=465
mail_use_tls=False
mail_use_ssl=True
mail_username=
mail_password=
mail_default_sender=
mail_security_token=78bd237db2da
```
Each value can be set with the `opencli config update` command.
---