summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-04-10 14:37:06 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2024-04-10 14:37:06 +0200
commit90b11a4f11f6943c1d5f4f2219b6ecd92438e255 (patch)
tree1c3f4556fff493cf5fbee809b3b8e4a86e94bfca
parent54cb677a1606ae705a761c74a215b2b0161f0553 (diff)
send fix from header
-rw-r--r--src/jwebmail/webmail.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jwebmail/webmail.py b/src/jwebmail/webmail.py
index 518710c..76eff57 100644
--- a/src/jwebmail/webmail.py
+++ b/src/jwebmail/webmail.py
@@ -212,6 +212,7 @@ def sendmail():
abort(400)
mail = EmailMessage()
+ mail["From"] = current_user.id
mail["To"] = form.send_to.data
mail["Subject"] = form.subject.data