Commit c72c9ccc authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added From form field to send_email. #430

parent b20b8e05
......@@ -495,6 +495,7 @@ def send_mail(name: str, email: str, message: str, subject: str):
msg = MIMEText(message)
msg['Subject'] = subject
msg['To'] = name
msg['From'] = config.mail.from_address
to_addrs = [email]
if config.mail.cc_address is not None:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment