Maybe the setup got confused and the system is trying to send emails of the first account via the outbound server of the second account (which then rejects it).
Usually when you create an account it will also create an associated identity.
Such an identity can specify which outgoing server to use for sending (usually needs to match the email address use for that identity).
Check if your two identities are pointing to the respective outgoing server and, when composing an email, check which identity you are composing for.
Inentity 1 → email1@xxxx.it with relative imap-smtp
Identity2 → email2@yyyyy.it with relative imap-smtp
If there are together one of this identity non send mail, but if I delete one of this, the rest of account work fine. I check all options but config it’s correct.
It’s strange because for each account All parameters are correct, and if I remove the working account, then the second one that gives problems works as I expected.. I test thunderbird than works, so because I like kde I want use kmail
It really is strange, isn’t it?
Admittedly, you’re using an old version of KMail, but I’ve been testing KMail regularly over the last few years and have never come across your problem (with more than two accounts).
Can you run KMail in a terminal and send us the messages, if there are any?
And please translate them into English first.
if it only works w/ kwallet off, the wallet file is probably half broken.
for me:
-quit kmail
-mv ~/.local/share/kwalletd ~/.local/share/kwalletd.bak
-System Settings → KDE Wallet → enable it, make a new wallet
-start kmail, add account 1, send a test, then account 2
-Identities → each one uses its own smtp
paste what kmail prints in a terminal if send dies again after the new wallet.
I do some test than I found the problems. For each account is use this settings
Identity then advantage tab → turn on account output and select relative imap;
account imap → advantage tab → indenity and select the relative identity for this imap.
Now all test in/out works very well (kwallet tourn on) included the refresh when del a e-mail. To speedup I remove antivirus and bogofilter check, so I make filter manually.
Now I’m going to try setup kmail by gmail and microsoftoft 365 account…very hardering . Thank very much for your support!!