feat(issue22/server-flask): Adds reply_to

`recipient` refers to FLASK_MAIL_RECIPIENT env var
which is the email address that receives all RFQ
This commit is contained in:
sovanna 2020-04-15 10:25:05 +09:00
parent 44b361893f
commit a61ebbdff6

View File

@ -36,6 +36,7 @@ def send_rfq():
msg = Message(
"[ORDER HARDWARE - RFQ from %s]" % payload['email'],
reply_to=recipient,
sender=payload["email"],
recipients=[recipient])