System/Advanced/Notifications/E-Mail - SMTP Notification E-Mail auth password Unexpected Bahaviour
In System/Advanced/Notifications/E-Mail - SMTP Notification E-Mail auth password, if i wish to CHANGE the password i do the following.
Generate a NEW app password (this is a gsuite domain gmail account) and put it in the Notification E-Mail auth password section & confirm section.
I then select "Test SMTP Settings" and an email is successfully sent so i then go down to the "Save" button at the bottom of the page and click it.
However, if i then click on say the System Turnables tab and then come back to the Notification tab and select "Test SMTP Settings" once more i get an authentication error message due to old password still being in use.
Trying the new password and test again works.
I have found this is because clicking "Test SMTP Settings" refreshes the page to display the result banner and at that point must revert the passwords in the Notification E-Mail auth password section & confirm section to what they were.
There is a message under the "Test SMTP Settings" which states:-
"A test notification will be sent even if the service is marked as disabled. "
But that isn't how it works either; as mentioned the problem is that clicking "Test SMTP Settings" seems to revert the password to the old one despite using the NEW one for the test when the screen refreshes and advises you of the test result.
Then as you are completely unaware and have (probably) had a valid test you click "Save" finally, but it then just saves the old password.
Updated by Danilo Zrenjanin over 1 year ago
2.4.5-RELEASE-p1 (amd64) built on Tue Jun 02 17:51:17 EDT 2020 FreeBSD 11.3-STABLE
I could replicate the issue.
If you write a new password and hit Test SMTP settings then the Save button, the password will be reverted to the wrong value.
If you write a new password, hit the Save button, then hit the Test SMTP settings button it will store the new password correctly.