mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
fixed wrong default TLS port
This commit is contained in:
@@ -274,12 +274,16 @@ InstallScript.prototype.step5 = function() {
|
||||
}
|
||||
});
|
||||
$('[name="smtpSecurity"]').change( function(e){
|
||||
if ($(this).val() == '') {
|
||||
$('[name="smtpPort"]').val('25');
|
||||
}
|
||||
else {
|
||||
$('[name="smtpPort"]').val('465');
|
||||
|
||||
var smtpPorts = {
|
||||
"": "25",
|
||||
"SSL": "465",
|
||||
"TLS": "587"
|
||||
}
|
||||
|
||||
var portVal = $(this).val();
|
||||
|
||||
$('[name="smtpPort"]').val(smtpPorts[portVal]);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user