mail o zachecie do logowania
This commit is contained in:
		
							
								
								
									
										2
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.py
									
									
									
									
									
								
							@@ -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"):
 | 
					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
 | 
					    import os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    template_path = "mail_template.html"
 | 
					    #template_path = "mail_template.html"
 | 
				
			||||||
    if not os.path.exists(template_path):
 | 
					    if not os.path.exists(template_path):
 | 
				
			||||||
        print(f"❌ Brak pliku szablonu: {template_path}")
 | 
					        print(f"❌ Brak pliku szablonu: {template_path}")
 | 
				
			||||||
        return
 | 
					        return
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user