Bug 215962 - Sending mail error - "Transport '....' is invalid"
Summary: Sending mail error - "Transport '....' is invalid"
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: sending (show other bugs)
Version: 1.12.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2009-11-24 15:31 UTC by tushe
Modified: 2010-09-24 18:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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