AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 22 Bitcoin

fix(email): skip SMTP AUTH when Login and Password are empty (fixes #7267) (#7269)

Public commit record

What the developer wrote

Authored by Drake Thomsen

98/100 · Strong
fix(email): skip SMTP AUTH when Login and Password are empty (fixes #7267) (#7269)

When SMTP is configured via IP relay (e.g. Google Workspace relay) without
login credentials, BTCPay still calls AuthenticateAsync if the server
advertises AUTH capability, causing 535 errors.

Skip authentication when both Login and Password are empty.

Co-authored-by: Storm Knight <storm-knight@openclaw.ai>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
The short version

What changed, and why it matters

This commit fixes an email-sending bug in BTCPay Server. When an administrator configured an SMTP relay that does not require a username or password, BTCPay was still trying to log in if the server said it supported authentication. That caused unnecessary 535 authentication errors and prevented emails from being sent. The fix simply skips login when both the Login and Password fields are empty. There is no security vulnerability here; it is a reliability/configuration fix.

Recommended action

No security action required. Treat as a normal reliability fix. Reviewers may verify that empty Login/Password is an intentional supported configuration and that whitespace-only values are correctly rejected.

Security signals we found

01

No injection, privilege escalation, or authentication bypass introduced

02

Change narrows when authentication is attempted, reducing unnecessary credential submission

03

No secrets, tokens, or cryptographic material changed

04

No new dependencies or network exposure

Risk score

Why this scored 22/100

Our methodology →
Potential impact 3/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 5/15
Confidence 9/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.