Skip to content

fix(notify): honour the smtp timeout, TLS and auth params - #990

Draft
JosephKav wants to merge 2 commits into
masterfrom
989-bug-smtp-notification-configuration-error
Draft

fix(notify): honour the smtp timeout, TLS and auth params#990
JosephKav wants to merge 2 commits into
masterfrom
989-bug-smtp-notification-configuration-error

Conversation

@JosephKav

Copy link
Copy Markdown
Collaborator

timeout, encryption, and skiptlsverify were ignored by the SMTP notifier.

Shoutrrr reflects send-params onto its config with strconv.ParseInt, so a
duration errors there, and getClientConnection dials with the config parsed
from the URL while the params only reach a clone used afterwards. Moving the
three to the built URL fixes all of them.

auth: Unknown was a separate break. Shoutrrr resolves it to "Plain/None" while
parsing the URL, then Send re-applies the params and restores it, so
getAuth fails.

timeout, encryption, and skiptlsverify now travel in the built URL as
Shoutrrr can't parse a duration from the params and dials with the
config it parsed from the URL.
- gotify, mattermost, ntfy, and zulip
@JosephKav JosephKav added the bug Something isn't working label Aug 31, 2026
@JosephKav JosephKav linked an issue Aug 31, 2026 that may be closed by this pull request
@JosephKav JosephKav added javascript Pull requests that update Javascript code go Pull requests that update Go code labels Aug 31, 2026
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.71%. Comparing base (326bc34) to head (f32988e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #990      +/-   ##
==========================================
+ Coverage   99.71%   99.71%   +0.01%     
==========================================
  Files         204      204              
  Lines       13027    13053      +26     
==========================================
+ Hits        12989    13015      +26     
  Misses         33       33              
  Partials        5        5              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown

✅ Playwright Test Results

Count
✅ Passed 372
❌ Failed 0
🔄 Flaky 1
⏭️ Skipped 4

Duration: 1355.7s

View screenshots & full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update Go code javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: SMTP Notification configuration error

1 participant