Invalid Transport - Kmail


I’m trying to configure my gmail and live account in Kmail I’m using POP & IMAP protocols and I’m able to receive the mails correctly but when I try to send email a message pops up “Transport ‘’ is invalid”.

I used the same configuration in Thunderbird and its working fine. Please let me know if somebody has a solution for it.