Näytä SMTP-portti ja salaus aina mailbox-lomakkeessa
Portti ja salaus tarvitaan aina (IMAP=993/SSL vs SMTP=587/TLS), joten ne näkyvät nyt checkboxin tilasta riippumatta. "Käytä samoja tunnuksia" piilottaa vain palvelimen, käyttäjän ja salasanan. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user