feat: complete platform overhaul, bugfixes, and verified production release
This commit is contained in:
@@ -29,6 +29,8 @@ async def send_email(to: str, subject: str, body: str) -> bool:
|
||||
smtp_port = int(os.getenv("SMTP_PORT", "587"))
|
||||
smtp_user = os.getenv("SMTP_USER")
|
||||
smtp_password = os.getenv("SMTP_PASSWORD")
|
||||
if smtp_password:
|
||||
smtp_password = smtp_password.replace(" ", "")
|
||||
mail_from_email = os.getenv("MAIL_FROM") or smtp_user
|
||||
mail_from_name = os.getenv("MAIL_FROM_NAME", "BookKeepro")
|
||||
smtp_tls = os.getenv("SMTP_TLS", "True").strip().lower() == "true"
|
||||
|
||||
Reference in New Issue
Block a user