2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 09:18:10 +00:00

Update email docs (#10966)

* Map shorthand email backends

* Revert settings changes

* Update email docs

* Tweak docs
This commit is contained in:
Oliver
2025-12-07 00:13:45 +11:00
committed by GitHub
parent efc8fb816d
commit d7caddb135
2 changed files with 6 additions and 0 deletions

View File

@@ -1017,11 +1017,13 @@ EXCHANGE_BACKEND = 'InvenTree.exchange.InvenTreeExchange'
# region email
# Email configuration options
EMAIL_BACKEND = 'InvenTree.backends.InvenTreeMailLoggingBackend'
INTERNAL_EMAIL_BACKEND = get_setting(
'INVENTREE_EMAIL_BACKEND',
'email.backend',
'django.core.mail.backends.smtp.EmailBackend',
)
# SMTP backend
EMAIL_HOST = get_setting('INVENTREE_EMAIL_HOST', 'email.host', '')
EMAIL_PORT = get_setting('INVENTREE_EMAIL_PORT', 'email.port', 25, typecast=int)