From 9b432ed388b78a1c712b04fa97bfd194d9598a16 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 24 Feb 2026 23:37:46 -0800 Subject: [PATCH] fix: migrate SMTP host from mx.jeffemmett.com to mail.rmail.online All email sending now uses mail.rmail.online as the SMTP host, replacing the legacy mx.jeffemmett.com hostname. Co-Authored-By: Claude Opus 4.6 --- backend/app/config.py | 2 +- .../tasks/task-6 - Add-order-confirmation-emails.md | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/backend/app/config.py b/backend/app/config.py index bbbe328..8a5942e 100644 --- a/backend/app/config.py +++ b/backend/app/config.py @@ -42,7 +42,7 @@ class Settings(BaseSettings): jwt_expire_hours: int = 24 # Email (SMTP via Mailcow) - smtp_host: str = "mx.jeffemmett.com" + smtp_host: str = "mail.rmail.online" smtp_port: int = 587 smtp_user: str = "" smtp_password: str = "" diff --git a/backlog/tasks/task-6 - Add-order-confirmation-emails.md b/backlog/tasks/task-6 - Add-order-confirmation-emails.md index c998932..3e9dc3a 100644 --- a/backlog/tasks/task-6 - Add-order-confirmation-emails.md +++ b/backlog/tasks/task-6 - Add-order-confirmation-emails.md @@ -1,9 +1,10 @@ --- id: TASK-6 title: Add order confirmation emails -status: To Do +status: Done assignee: [] created_date: '2026-02-18 19:51' +updated_date: '2026-02-25 07:34' labels: [] dependencies: [] priority: medium @@ -12,5 +13,11 @@ priority: medium ## Description -OrderService has TODO for sending confirmation emails after payment. Connect to Mailcow SMTP (mx.jeffemmett.com:587) or email-relay API. Send order confirmation with items, total, and tracking link. +OrderService has TODO for sending confirmation emails after payment. Connect to Mailcow SMTP (mail.rmail.online:587) or email-relay API. Send order confirmation with items, total, and tracking link. + +## Implementation Notes + + +EmailService created with aiosmtplib. Order confirmation email sent after successful Mollie payment. Shipping notification email sent when POD provider reports shipped status with tracking info. HTML templates with rSwag dark theme branding. SMTP via Mailcow (mail.rmail.online:587 STARTTLS). Non-blocking: failures logged but don't break order flow. +