Skip to content

Conversation

@trabulium
Copy link

Summary

Adds a test button to the email notification settings page that allows testing SMTP configuration before saving.

Features:

  • Test button sends a test email to a specified address
  • Step-by-step debug log shows connection progress (connecting, TLS, auth, sending)
  • Visual success/failure indicators
  • Tests current form values so settings can be validated before saving
  • Uses saved password if form shows masked value

Screenshots

The test section appears below the form with:

  • Email input field for test recipient
  • Test button
  • Debug log area showing SMTP conversation
  • Green/red border indicating success/failure

Test Plan

  • Enter SMTP settings and test email address
  • Click Test button
  • Verify debug log shows connection steps
  • Verify test email is received on success
  • Verify error messages display on failure (wrong password, wrong port, etc.)

- Add test endpoint POST /api/v1/settings/notifications/email/test
- Add Test Connection section in notification settings form
- Show step-by-step debug log during SMTP test
- Display success/failure status with visual indicators
- Test uses form values so settings can be tested before saving
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