From a7dcb30c7a465d9fce72b7fc3e605470b2b59814 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 16 Dec 2025 08:06:09 -0500 Subject: feat(deploy): Complete mini-PaaS deployment system (t-266) - Add Omni/Deploy/ with Manifest, Deployer, Systemd, Caddy modules - Manifest CLI: show, update, add-service, list, rollback commands - Deployer: polls S3 manifest, pulls closures, manages systemd units - Caddy integration for dynamic reverse proxy routes - bild: auto-cache to S3, outputs STORE_PATH for push.sh - push.sh: supports both NixOS and service deploys - Biz.nix: simplified to base OS + deployer only - Services (podcastitlater-web/worker) now deployer-managed - Documentation: README.md with operations guide --- Biz/EmailAgent.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Biz/EmailAgent.py') diff --git a/Biz/EmailAgent.py b/Biz/EmailAgent.py index 6ac4c95..ca42de3 100755 --- a/Biz/EmailAgent.py +++ b/Biz/EmailAgent.py @@ -31,7 +31,7 @@ def send_email( Send an email using the provided parameters. Args: - to_addr: Recipient email addresses + to_addrs: Recipient email addresses from_addr: Sender email address smtp_server: SMTP server hostname password: Password for authentication @@ -56,8 +56,9 @@ def send_email( with body_html.open(encoding="utf-*") as html: msg.add_alternative(html.read(), subtype="html") with smtplib.SMTP(smtp_server, port) as server: - server.starttls() - server.login(from_addr, password) + if password: + server.starttls() + server.login(from_addr, password) return server.send_message( msg, from_addr=from_addr, -- cgit v1.2.3