mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Email config fix (#5336)
* Change for DEFAULT_FROM_EMAIL - Use USERNAME if not specified (cherry picked from commit 487ac917c90e9fe3da4effaa9326b707ceecd321) * Email configuration fails if DEFAULT_FROM_EMAIL not set (cherry picked from commit 01e573c3a2702e7c21ed13b0cb44280c89d3dee1) * Docs update
This commit is contained in:
@ -155,9 +155,16 @@ The following email settings are available:
|
||||
| INVENTREE_EMAIL_PASSWORD | email.password | Email account password | *Not specified* |
|
||||
| INVENTREE_EMAIL_TLS | email.tls | Enable TLS support | False |
|
||||
| INVENTREE_EMAIL_SSL | email.ssl | Enable SSL support | False |
|
||||
| INVENTREE_EMAIL_SENDER | email.sender | Name of sender | *Not specified* |
|
||||
| INVENTREE_EMAIL_SENDER | email.sender | Sending email address | *Not specified* |
|
||||
| INVENTREE_EMAIL_PREFIX | email.prefix | Prefix for subject text | [InvenTree] |
|
||||
|
||||
### Sender Email
|
||||
|
||||
The "sender" email address is the address from which InvenTree emails are sent (by default) and must be specified for outgoing emails to function:
|
||||
|
||||
!!! info "Fallback"
|
||||
If `INVENTREE_EMAIL_SENDER` is not provided, the system will fall back to `INVENTREE_EMAIL_USERNAME` (if the username is a valid email address)
|
||||
|
||||
## Supported Currencies
|
||||
|
||||
The currencies supported by InvenTree must be specified in the [configuration file](#configuration-file).
|
||||
|
Reference in New Issue
Block a user