When sending a larger mail, which takes more than 10 seconds to upload to the SMTP server, the KSmtp session class always run in the onSocketTimeout() and closed the connection.
I think this is wrong since sending can take an unknown amount of time depending on the available bandwidth.
This patch avoids using a timeout for SendJobs
This patch solves my problem https://bugs.kde.org/show_bug.cgi?id=387613