Merge pull request #1451 from skepticalwaves/patch-3

Fix email sending broken by #1406
This commit is contained in:
Slavi Pantaleev 2021-12-11 17:34:48 +02:00 committed by GitHub
commit 1406e83444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2344,8 +2344,10 @@ email:
# Username/password for authentication to the SMTP server. By default, no # Username/password for authentication to the SMTP server. By default, no
# authentication is attempted. # authentication is attempted.
{% if matrix_synapse_email_smtp_user %}
smtp_user: {{ matrix_synapse_email_smtp_user|string|to_json }} smtp_user: {{ matrix_synapse_email_smtp_user|string|to_json }}
smtp_pass: {{ matrix_synapse_email_smtp_pass|string|to_json }} smtp_pass: {{ matrix_synapse_email_smtp_pass|string|to_json }}
{% endif %}
# Uncomment the following to require TLS transport security for SMTP. # Uncomment the following to require TLS transport security for SMTP.
# By default, Synapse will connect over plain text, and will then switch to # By default, Synapse will connect over plain text, and will then switch to