diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-04-06 09:59:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-04-06 23:33:09 +0900 |
commit | 29d3e9ad8c6dbc3b544f56b54ca7b6ede70f0601 (patch) | |
tree | 9a3ec12f50b29169eca8518df6ee05cc18834b5b | |
parent | 5b4e88a71e441d38fd8eeba1d35e6b77cecdf590 (diff) | |
download | tdepim-29d3e9ad8c6dbc3b544f56b54ca7b6ede70f0601.tar.gz tdepim-29d3e9ad8c6dbc3b544f56b54ca7b6ede70f0601.zip |
kmail: use default transport for message redirect. This resolves issue #54.r14.0.12
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ed455b74cd3b69cdb1549463bad824301f595ad0)
-rw-r--r-- | kmail/kmsender.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kmail/kmsender.cpp b/kmail/kmsender.cpp index 9a8ae5be7..e63add04d 100644 --- a/kmail/kmsender.cpp +++ b/kmail/kmsender.cpp @@ -483,6 +483,9 @@ void KMSender::doSendMsg() msgTransport = mCurrentMsg->headerField("X-KMail-Transport"); } if ( msgTransport.isEmpty() ) { + msgTransport = GlobalSettings::self()->defaultTransport(); + } + if ( msgTransport.isEmpty() ) { const TQStringList sl = KMTransportInfo::availableTransports(); if (!sl.empty()) msgTransport = sl.front(); } |