Skip to content
Snippets Groups Projects
Commit c72c9ccc authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added From form field to send_email. #430

parent b20b8e05
No related branches found
No related tags found
2 merge requests!233v0.9.8 - Merge for release,!225Minor bugfixes
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment