Browse Source

kmail: use default transport for message redirect. This resolves issue #54.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/67/head
Michele Calgaro 4 months ago
parent
commit
ed455b74cd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 3
      kmail/kmsender.cpp

3
kmail/kmsender.cpp

@ -482,6 +482,9 @@ void KMSender::doSendMsg()
if ( msgTransport.isEmpty() ) {
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();

Loading…
Cancel
Save