Utente e password SMTP separati da quelli IMAP (0.24.7)

Alcuni server vogliono per l'invio un utente diverso (spesso l'indirizzo intero
invece del nome corto) e una password diversa. In Account ci sono ora due campi
dedicati; vuoti, restano validi l'utente SMTP dedotto e la password della posta.
This commit is contained in:
Carlo Baratto committed 2026-11-24 21:42:28 +01:00
1 parent e12a669b1e
commit 02b0f3e90d
6 files changed
+47 -7

No files matched your search

+22
View File
@@ -183,6 +183,28 @@ Page {
onCurrentIndexChanged: account.smtpSecurity = currentIndex
}
// Non sempre l'invio usa lo stesso utente della posta in arrivo:
// capita che voglia l'indirizzo intero invece del nome corto.
TextField {
width: parent.width - 2 * Theme.horizontalPageMargin
anchors.horizontalCenter: parent.horizontalCenter
label: qsTr("Utente per l'invio")
placeholderText: qsTr("vuoto = utente della posta")
inputMethodHints: Qt.ImhEmailCharactersOnly | Qt.ImhNoAutoUppercase
text: account.smtpUser
onTextChanged: account.smtpUser = text.trim()
}
TextField {
width: parent.width - 2 * Theme.horizontalPageMargin
anchors.horizontalCenter: parent.horizontalCenter
label: qsTr("Password per l'invio")
placeholderText: qsTr("vuota = password della posta")
echoMode: TextInput.Password
text: account.smtpPassword
onTextChanged: if (text.length > 0) account.smtpPassword = text
}
TextField {
width: parent.width - 2 * Theme.horizontalPageMargin
anchors.horizontalCenter: parent.horizontalCenter