Bug 215962

Summary: Sending mail error - "Transport '....' is invalid"
Product: [Applications] kmail Reporter: tushe
Component: sendingAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern, montel
Priority: NOR Keywords: junior-jobs
Version: 1.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description tushe 2009-11-24 15:31:16 UTC
Version:           1.12.3 (using KDE 4.3.3)
OS:                Linux
Installed from:    Fedora RPMs

Kmail gives the following error when trying to send message through sending account with name that begins with *space*:
Transport '<sending account name>' is invalid

Please note that when the error is reported the <sending account name> is printed without the leading *space*.

This is easy fixable with removing the leading space character, but still is quite annoying.

How to reproduce (always):

1. Create a sending account in kmail with name that has a leading *space*
2. Try to send a message through that account
Comment 1 Laurent Montel 2010-04-26 13:36:18 UTC
I confirm it.
But we use QString KMMessage::headerField( const QByteArray& aName, EncodingMode encodingMode ) const which remove space in text.

Don't know how to fix it.
Comment 2 Laurent Montel 2010-09-24 18:23:17 UTC
SVN commit 1179126 by mlaurent:

Fix bug #215962 "Sending mail error - "Transport '....' is invalid"" 
kmail doesn't support transport with a name which has a space at begin.
Not easy to fix in kmail => remove begin space 
BUG: 215962


 M  +1 -1      addtransportdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1179126
Comment 3 Laurent Montel 2010-09-24 18:23:38 UTC
SVN commit 1179127 by mlaurent:

Fix bug #215962 "Sending mail error - "Transport '....' is invalid"" 
kmail doesn't support transport with a name which has a space at begin.
Not easy to fix in kmail => remove begin space 
BUG: 215962



 M  +1 -1      addtransportdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1179127