mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
do not retry sending email in send_email()
This commit is contained in:
parent
75d6b1dab5
commit
544df7034d
1 changed files with 6 additions and 1 deletions
|
@ -302,7 +302,12 @@ def send_email(
|
|||
transaction = TransactionalEmail.create(email=to_email, commit=True)
|
||||
|
||||
# use a different envelope sender for each transactional email (aka VERP)
|
||||
sl_sendmail(TRANSACTIONAL_BOUNCE_EMAIL.format(transaction.id), to_email, msg)
|
||||
sl_sendmail(
|
||||
TRANSACTIONAL_BOUNCE_EMAIL.format(transaction.id),
|
||||
to_email,
|
||||
msg,
|
||||
can_retry=False,
|
||||
)
|
||||
|
||||
|
||||
def send_email_with_rate_control(
|
||||
|
|
Loading…
Reference in a new issue