Просмотр исходного кода

Add our email address to BCC to receive emails

brid 1 год назад
Родитель
Сommit
9956e6ed70
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/email.py

+ 1 - 0
app/email.py

@@ -76,6 +76,7 @@ async def send_email(
         recipients=recipients,
         body=email_data["body"],
         subtype=MessageType.plain,
+        bcc=[os.getenv("MAIL_FROM")]
     )
 
     fm = FastMail(conf)