From b7583e83703626bc5304c7ce1a0d96edcb6a1f81 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 26 Jun 2024 12:19:44 +0200 Subject: [PATCH] introduce email bounce address, follow up on #221 --- app/email.py | 4 ++-- config.py | 1 + env.sample | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/email.py b/app/email.py index fd659ca2..7ff7b5d1 100644 --- a/app/email.py +++ b/app/email.py @@ -42,10 +42,10 @@ def send_welcome_email(user, application_required): @celery.task def send_async_email(subject, sender, recipients, text_body, html_body, reply_to): if 'ngrok.app' in sender: # for local development - sender = f'{g.site.name} <{current_app.config["MAIL_FROM"]}>' + sender = 'PieFed