summaryrefslogtreecommitdiff
path: root/src/jwebmail/webmail.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/webmail.py')
-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