Bug 20328

Summary: Identity settings do not work when sending mail
Product: [Applications] kmail Reporter: W K Havinga <w.k.havinga>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed In:

Description W K Havinga 2001-02-12 12:37:49 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kmail
Version: 2.1 Beta 2
Severity: normal
Installed from: Source on Slackware (glibc-2.1 i386)

When using more than one identity KMail always 'sends' 
mail using the FROM-address of the 'Default' identity 
also when I specifically say it should take another one 
(using view->Identity and selecting another one not 
'Default'). Because there was an invalid e-mail address in 
my Default-identity KMail could not send mail using SMTP 
(I got an error upon executing the SMTP 'MAIL' command 
'Sender domain must exist')!

I have traced the 'bug' to here (although it may not 
really be a bug ik looks more like something that just 
hasn't been implemented yet):

kmsender.cpp:902 KMIdentity ident( i18n( "Default" ));

This is used a few lines below:
kmsender.cpp:908 replyCode = 

Of course in line 902 KMail should take the selected 
identity not always the 'Default' one.

I checked out the CVS version just a minute ago and it 
still has the same behaviour which I believe is wrong.

(submitted via bugs.kde.org)
Comment 1 Michael Haeckel 2001-02-28 19:40:26 UTC