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 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-24 23:37:46 -08:00
parent c4857a0222
commit 9b432ed388
2 changed files with 10 additions and 3 deletions

View File

@ -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 = ""

View File

@ -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
<!-- SECTION:DESCRIPTION:BEGIN -->
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.
<!-- SECTION:DESCRIPTION:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
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.
<!-- SECTION:NOTES:END -->