mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
log more info
This commit is contained in:
parent
cdd69b381e
commit
1e084f306e
1 changed files with 2 additions and 1 deletions
|
@ -256,9 +256,10 @@ class MailHandler:
|
||||||
user_email = forward_email.gen_email.user.email
|
user_email = forward_email.gen_email.user.email
|
||||||
if envelope.mail_from.lower() != user_email.lower():
|
if envelope.mail_from.lower() != user_email.lower():
|
||||||
LOG.error(
|
LOG.error(
|
||||||
f"Reply email can only be used by user email. Actual mail_from: %s. User email %s",
|
f"Reply email can only be used by user email. Actual mail_from: %s. User email %s. reply_email %s",
|
||||||
envelope.mail_from,
|
envelope.mail_from,
|
||||||
user_email,
|
user_email,
|
||||||
|
reply_email,
|
||||||
)
|
)
|
||||||
|
|
||||||
send_email(
|
send_email(
|
||||||
|
|
Loading…
Reference in a new issue