Optimized mail integration and solved bugs (hopefully I didn't create more)

This commit is contained in:
2025-01-16 16:36:15 +01:00
parent d1bec25781
commit b0d5396ea8
13 changed files with 60 additions and 25 deletions

View File

@@ -48,11 +48,13 @@ RESTRICTED_INSTANCE=false
MAIL_DRIVER=log
MAIL_HOST={{system_email_host}}
MAIL_PORT={{system_email_smtp_port}}
MAIL_FROM_ADDRESS="{{system_email_address}}"
MAIL_FROM_ADDRESS="{{system_email_from}}"
MAIL_FROM_NAME="Pixelfed"
MAIL_USERNAME={{system_email_address}}
MAIL_USERNAME={{system_email_username}}
MAIL_PASSWORD={{system_email_password}}
MAIL_ENCRYPTION=tls
# Not sure if the following is correct
# Checkout: https://github.com/pixelfed/pixelfed/blob/dev/.env.docker
MAIL_ENCRYPTION={{ 'ssl' if system_email_start_tls else 'tls' }}
## Databases (MySQL)
DB_CONNECTION=mysql