diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-04-10 14:37:06 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-04-10 14:37:06 +0200 |
commit | 90b11a4f11f6943c1d5f4f2219b6ecd92438e255 (patch) | |
tree | 1c3f4556fff493cf5fbee809b3b8e4a86e94bfca /src | |
parent | 54cb677a1606ae705a761c74a215b2b0161f0553 (diff) |
send fix from header
Diffstat (limited to 'src')
-rw-r--r-- | src/jwebmail/webmail.py | 1 |
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 |