[Bug 162175] Kmail does not recognise/use the port number set in the smtp account settings dialog

mstarkey at wcsgabon.org mstarkey at wcsgabon.org
Mon Jul 14 13:32:28 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162175         
mstarkey wcsgabon org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
            Summary|Unable to send with uuplus  |Kmail does not recognise/use
                   |SMTP on localhost port 1025 |the port number set in the
                   |                            |smtp account settings dialog



------- Additional Comments From mstarkey wcsgabon org  2008-07-14 14:32 -------
I'm no C++ expert, but from a bit of grepping in src/kdepim/kmail , it looks 
like the POP seetings dialog has code like this:

  mServerTest->setPort( encryptionType, mPop.ui.portEdit->value() )

where it is setting the port based on the value in the UI.

On the other hand, the smtp equivalent (eg in AccountWizard::smtpCapabilities) 
just has :

  mTransport->setPort( useSSL ? 465 : 25 );

ie the port number is hardcoded to 465 or 25 depending on whether SSL is 
requested or not and it doesn't refer to the port number selected manually in 
the text box in the UI at all.

Am I on the right track here?

Looks like there is similar  stuff for Imap (eg: account->setPort( useSSL ? 993 
: 143 );) so anyone trying to use a non-standard port is out of luck.


cheers
M.



More information about the Kdepim-bugs mailing list