Confusing success status message when mail sending fails #2767
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Hi,
first of all, thanks a lot for a great program! I've just installed a test version of Vikunja on my server and tried to set up the mailing functionality. The program offers a command to send a test email, which I find very comfortable. So I asked Vikunj to send a test email to my mail address:
However, despite Vikunja telling me that the mail has been sent successfully, it didn't arrive. (Please note that I didn't actually use
mail@example.org
for the testmail command, that's not the source of the error. 😄)Turning on the DEBUG log mode, I did finally spot what was wrong: I had made a tiny typo in the
config.yml
file, and the initial connection to the SMTP server succeeded, but the authentication did not:I've briefly looked at the code, but I'm not really fluent in go, so I'm not sure how to properly fix this. Maybe instead of reporting "Testmail successfully sent." you could write "Testmail successfully queued."? And is there a separate queue worker which could detect the failed SMTP AUTH command and log that as ERROR?
Regards,
Tobias
Vikunja Version
0.24.4
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
I'm not sure why the authentication failed there, but it should definitely show a proper error message in that case. Will look into making this work.
Now fixed in
b5cbe99b0a
, please check with the next unstable build (should be ready for deployment in ~45min, also on try).Looks like this was a regression from
950de7c954
.Hi @konrad, thanks for the quick fix. I've just tested with the unstable build and can confirm that it works as expected. 👍