-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send test mail button ajax call has always smtpauth = 1 #9803
send test mail button ajax call has always smtpauth = 1 #9803
Conversation
Not sure its quite correct
|
@brianteeman The problem is found when your fill all SMTP credentials and keep "SMTP Authentication"=No... it applies the credentials even when it is disabled. In this PR, I have modified the code to really check for the "SMTP Authentication" radio value. An alternative solution could be to just remove the useless "SMTP Authentication" radio. If there are SMTP credentials, they are applied without checking for a radio. |
This! (and, if you wish, password displayed on showon of the username...) |
... but probably "showon not empty text field" is not possible, or is it? |
The aim of this issue is to fix the user interface bug. |
could you solve the conflicts now the other one as been merged? |
Please, close this one as I have submitted an updated PR for testing - #9904 |
Pull Request for Issue #9768.
Summary of Changes
Send Test Mail button does not correctly evaluate "SMTP Authentication" radio. Then, mails are sent via SMTP even when "SMTP Authentication" is disabled.
Fix: smtpauth : $('input[name="jform[smtpauth]"]:checked').val(),
Testing Instructions