mirror of
https://github.com/simple-login/app.git
synced 2025-11-09 09:20:43 +08:00
fix
This commit is contained in:
parent
cb036f651d
commit
3898d2d7a6
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ def handle_reply(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> (bool, str
|
||||||
return whether an email has been delivered and
|
return whether an email has been delivered and
|
||||||
the smtp status ("250 Message accepted", "550 Non-existent email address", etc)
|
the smtp status ("250 Message accepted", "550 Non-existent email address", etc)
|
||||||
"""
|
"""
|
||||||
reply_email = rcpt_to.lower().strip().lower()
|
reply_email = rcpt_to.lower().strip()
|
||||||
|
|
||||||
# reply_email must end with EMAIL_DOMAIN
|
# reply_email must end with EMAIL_DOMAIN
|
||||||
if not reply_email.endswith(EMAIL_DOMAIN):
|
if not reply_email.endswith(EMAIL_DOMAIN):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue