Bug 20328 - Identity settings do not work when sending mail
Summary: Identity settings do not work when sending mail
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-12 12:48 UTC by W K Havinga
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 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 = 
mClient->Mail(ident.emailAddr());

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
dublicate