mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 07:43:54 +08:00
notify user every time a reply can't be sent
This commit is contained in:
parent
42a29eba90
commit
2a1ef7beec
1 changed files with 1 additions and 3 deletions
|
@ -1098,9 +1098,7 @@ def handle_reply(envelope, msg: Message, rcpt_to: str) -> (bool, str):
|
|||
# the email is ignored, delete the email log
|
||||
EmailLog.delete(email_log.id, commit=True)
|
||||
|
||||
send_email_at_most_times(
|
||||
user,
|
||||
ALERT_NON_REVERSE_ALIAS_REPLY_PHASE,
|
||||
send_email(
|
||||
mailbox.email,
|
||||
f"Email sent to {contact.email} contains non reverse-alias addresses",
|
||||
render(
|
||||
|
|
Loading…
Reference in a new issue