From 90b11a4f11f6943c1d5f4f2219b6ecd92438e255 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 10 Apr 2024 14:37:06 +0200 Subject: send fix from header --- src/jwebmail/webmail.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3