feat(notifications): add SMTP_SSL support for implicit TLS #154

Merged
fuzzy merged 1 commit from fix/0119-smtp-ssl-support into main 2026-07-05 18:07:05 +00:00
Owner

What

Add smtp_use_ssl config flag to NotificationConfig. When True, uses smtplib.SMTP_SSL (port 465 implicit TLS) instead of smtplib.SMTP with STARTTLS (port 587).

Why

Many SMTP providers (e.g. SendGrid, Mailgun) require implicit TLS on port 465 which wasn't supported.

Testing

  • 146 unit tests pass (1 new: test_sends_smtp_ssl)
  • Pre-commit hooks pass

Closes #119

## What Add `smtp_use_ssl` config flag to `NotificationConfig`. When `True`, uses `smtplib.SMTP_SSL` (port 465 implicit TLS) instead of `smtplib.SMTP` with STARTTLS (port 587). ## Why Many SMTP providers (e.g. SendGrid, Mailgun) require implicit TLS on port 465 which wasn't supported. ## Testing - [x] 146 unit tests pass (1 new: test_sends_smtp_ssl) - [x] Pre-commit hooks pass Closes #119
feat(notifications): add SMTP_SSL support for implicit TLS
All checks were successful
CI / test (pull_request) Successful in 53s
CI / lint (pull_request) Successful in 1m23s
c6caf09d88
Adds smtp_use_ssl config flag (default False). When True, uses
smtplib.SMTP_SSL (port 465) instead of smtplib.SMTP with STARTTLS.
Closes #119
the.auditor left a comment

Automated Review — PR #154

Result: APPROVED


Clean feature addition — adds smtp_use_ssl config flag. When True, uses SMTP_SSL (port 465, implicit TLS); when False (default), uses SMTP with starttls() (port 587). Config field, test, and wiring all included. Closes #119.

No suggestions.

## Automated Review — PR #154 **Result: APPROVED** --- Clean feature addition — adds `smtp_use_ssl` config flag. When True, uses `SMTP_SSL` (port 465, implicit TLS); when False (default), uses `SMTP` with `starttls()` (port 587). Config field, test, and wiring all included. Closes #119. No suggestions.
fuzzy merged commit c6caf09d88 into main 2026-07-05 18:07:05 +00:00
fuzzy deleted branch fix/0119-smtp-ssl-support 2026-07-05 18:07:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!154
No description provided.