Skip to content

Avoid SMTP hang when mail not configured#42

Merged
Oleandertengesdal merged 2 commits intomainfrom
backend/security-hardening
Apr 10, 2026
Merged

Avoid SMTP hang when mail not configured#42
Oleandertengesdal merged 2 commits intomainfrom
backend/security-hardening

Conversation

@Oleandertengesdal
Copy link
Copy Markdown
Collaborator

Add a guard to skip sending invites if mail sender is missing or lacks SMTP credentials, since Spring may auto-configure JavaMailSender with empty username/password which can cause SMTP connections to hang.

Add a guard to skip sending invites if mail sender is missing or lacks SMTP credentials, since Spring may auto-configure JavaMailSender with empty username/password which can cause SMTP connections to hang.
@github-actions
Copy link
Copy Markdown

Backend Test Results

254 tests   253 ✅  9s ⏱️
 52 suites    0 💤
 52 files      0 ❌  1 🔥

For more details on these errors, see this check.

Results for commit e299732.

@Oleandertengesdal Oleandertengesdal merged commit fbd9f41 into main Apr 10, 2026
1 of 2 checks passed
@Oleandertengesdal Oleandertengesdal deleted the backend/security-hardening branch April 10, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant