diff --git a/index.html b/index.html index faa52b0..d903a5e 100644 --- a/index.html +++ b/index.html @@ -832,16 +832,16 @@
-
-
- -
+
+
+
+
diff --git a/script.js b/script.js index 251c929..4ed88dc 100644 --- a/script.js +++ b/script.js @@ -2583,10 +2583,10 @@ document.getElementById('btn-save-mailbox').addEventListener('click', async () = smtp_from_email: document.getElementById('mailbox-form-smtp-email').value, smtp_from_name: document.getElementById('mailbox-form-smtp-name').value, smtp_host: useSame ? imapHost : document.getElementById('mailbox-form-smtp-host').value, - smtp_port: useSame ? 587 : (parseInt(document.getElementById('mailbox-form-smtp-port').value) || 587), + smtp_port: parseInt(document.getElementById('mailbox-form-smtp-port').value) || 587, smtp_user: useSame ? imapUser : document.getElementById('mailbox-form-smtp-user').value, smtp_password: useSame ? imapPass : document.getElementById('mailbox-form-smtp-pass').value, - smtp_encryption: useSame ? 'tls' : document.getElementById('mailbox-form-smtp-encryption').value, + smtp_encryption: document.getElementById('mailbox-form-smtp-encryption').value, aktiivinen: true, }; try {