From 5231483026bc8d6ead6f8ec79617d8ab2f863027 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 24 Nov 2020 16:38:54 +0100 Subject: [PATCH] add doc --- email_handler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/email_handler.py b/email_handler.py index 6917b2bd..385b6fdc 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1153,6 +1153,10 @@ def handle_unknown_mailbox( def handle_bounce(contact: Contact, alias: Alias, msg: Message, user: User): + """ + Handle bounce that is sent to the reverse-alias + Happens when an email cannot be to a mailbox + """ disable_alias_link = f"{URL}/dashboard/unsubscribe/{alias.id}" # Store the bounced email