forked from M-Labs/web2019
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:
parent
44b361893f
commit
a61ebbdff6
|
@ -36,6 +36,7 @@ def send_rfq():
|
||||||
|
|
||||||
msg = Message(
|
msg = Message(
|
||||||
"[ORDER HARDWARE - RFQ from %s]" % payload['email'],
|
"[ORDER HARDWARE - RFQ from %s]" % payload['email'],
|
||||||
|
reply_to=recipient,
|
||||||
sender=payload["email"],
|
sender=payload["email"],
|
||||||
recipients=[recipient])
|
recipients=[recipient])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue