Skip to content

show email sending errors from NS SENDPASS - #2473

Merged
slingamn merged 1 commit into
ergochat:masterfrom
fredrikblau:fix/2430-sendpass-email-error
Nov 1, 2026
Merged

slingamn merged 1 commit into
ergochat:masterfrom
fredrikblau:fix/2430-sendpass-email-error

Conversation

@fredrikblau

Copy link
Copy Markdown
Contributor

NS SENDPASS only replied "An error occurred" when the email could not be sent. This wraps the send error in registrationCallbackError, the same way REGISTER and SETEMAIL do, so the user sees the SMTP error when direct sending is enabled and "Could not dispatch registration e-mail" otherwise.

The failed attempt still counts toward the reset cooldown, so a retry gets "Try again later" (the second line in the issue log). I left that alone, happy to change it if you want.

Fixes #2430

@slingamn

slingamn commented Nov 1, 2026

Copy link
Copy Markdown
Member

Fantastic, thanks!

@slingamn slingamn added this to the v2.20 milestone Nov 1, 2026
@slingamn
slingamn merged commit 62b9f52 into ergochat:master Nov 1, 2026
1 check passed
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.

email sending errors from SENDPASS are not shown to the user

2 participants