mail o zachecie do logowania

This commit is contained in:
Mateusz Gruszczyński
2025-05-26 13:51:18 +02:00
parent d50466ad87
commit 68804934b0

2
app.py
View File

@ -284,7 +284,7 @@ def get_smtp_config():
def send_email_batch(users, smtp_config, mails_per_pack=100, time_per_pack=60, dry_run=False, template_path="mail_template.html"):
import os
template_path = "mail_template.html"
#template_path = "mail_template.html"
if not os.path.exists(template_path):
print(f"❌ Brak pliku szablonu: {template_path}")
return