diff options
Diffstat (limited to 'src/jwebmail/webmail.py')
-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 |