From a61ebbdff6a7fa95aedfdedfbe94df5d9014ee9a Mon Sep 17 00:00:00 2001 From: sovanna Date: Wed, 15 Apr 2020 10:25:05 +0900 Subject: [PATCH] feat(issue22/server-flask): Adds reply_to `recipient` refers to FLASK_MAIL_RECIPIENT env var which is the email address that receives all RFQ --- server/app/api/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/app/api/routes.py b/server/app/api/routes.py index 3b264e7..1fe74b7 100644 --- a/server/app/api/routes.py +++ b/server/app/api/routes.py @@ -36,6 +36,7 @@ def send_rfq(): msg = Message( "[ORDER HARDWARE - RFQ from %s]" % payload['email'], + reply_to=recipient, sender=payload["email"], recipients=[recipient])