Use smtp-from when sending SMTP message smtp-user is for authentication only. smtp-from was read from the config file but unused.
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht/blueprints/email.py
M gitsrht/blueprints/email.py => gitsrht/blueprints/email.py +1 -1
@@ 319,7 319,7 @@ def send_email_send(owner, repo): print("Sending to recipients", recipients) for i, email in enumerate(emails): session.pop("commentary_{i}", None) smtp.send_message(email, smtp_user, recipients) smtp.send_message(email, smtp_from, recipients) smtp.quit() # TODO: If we're connected to a lists.sr.ht address, link to their URL