Bug 261607

Summary: doesn't use default SMTP server to send e-mail
Product: [Applications] kmail2 Reporter: Alexander van Loon <a.vanloon>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: maurice, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander van Loon 2010-12-30 11:03:39 UTC
Version:           unspecified (using KDE 4.5.90) 
OS:                Linux

Currently in KMail 4.6 beta 3 I have two SMTP servers set up, smtp.google.com and mail.alexandervanloon.nl. In Settings... > Configure KMail > Accounts > Sending mail.alexandervanloon.nl is displayed as the default to use.

However, every time I send an e-mail smtp.google.com is used as default, unless I tell KMail to explicitly use mail.alexandervanloon.nl by using the dropdown menu of the Send button. It
Comment 1 Alexander van Loon 2010-12-30 11:06:33 UTC
The encoding bug in rekonq with KDE SC 4.6 RC1 strikes me again. Here is the complete last paragraph:

However, every time I send an e-mail smtp.google.com is used as default, unless I tell KMail to explicitly use mail.alexandervanloon.nl by using the dropdown menu of the Send button. It's as if smtp.google.com is the default and not the other way around. This is always reproducible. I should also note that in the dropdown menu of the Send button, smtp.google.com is located above mail.alexandervanloon.nl.
Comment 2 Tobias Koenig 2010-12-31 15:04:20 UTC
Hej Alexander,

can you make sure that you don't have specified smtp.google.com as special transport for your default identity? (Configure -> Identities -> Modify -> Advanced)
In this case the default transport is overwritten by the one specified in the identity.

Ciao,
Tobias
Comment 3 Alexander van Loon 2010-12-31 15:21:23 UTC
I just verified and smtp.gmail.com (I figured out I that smtp.gmail.com was the right address and that was why I couldn't send e-mails with GMail, but that's a different story) was indeed configured as the special transport.

But somehow KMail must have set that by itself, I'm quite certain I never touched that setting.
Comment 4 Tobias Koenig 2011-01-01 16:52:04 UTC
Hej,

possible, might be a porting bug. However storing the special transport should work fine now, I committed a patch yesterday.

Ciao,
Tobias
Comment 5 Maurice Batey 2011-03-24 20:38:34 UTC
"can you make sure that you don't have specified smtp.google.com as special
transport for your default identity? (Configure -> Identities -> Modify ->
Advanced)
In this case the default transport is overwritten by the one specified in the
identity."

I have just come across this problem (with Kmail 1.13.3).
I had defined a new 'Send' account, but not as Default.
   However, the 'Special Transport' box for the Default account had been set as the new account - but NOT BY ME!
 Deselecting that box restored Kmail to using the Default account.

This is a nasty hole to fall into...