1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-29 22:37:58 +02:00

Remove stale link to old auto-forward settings. Fixes #450

Also update a reference to 'smtp' to use HOST_AUTHSMTP
This commit is contained in:
Scott
2018-04-14 16:47:41 -05:00
committed by Stefan Auditor
parent 1e609acbaf
commit 2c2a1ed042
2 changed files with 1 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ class Email(object):
"""
from_address = '{}@{}'.format(
app.config['POSTMASTER'], app.config['DOMAIN'])
with smtplib.SMTP('smtp', port=10025) as smtp:
with smtplib.SMTP(app.config['HOST_AUTHSMTP'], port=10025) as smtp:
msg = text.MIMEText(body)
msg['Subject'] = subject
msg['From'] = from_address