Bug 277683 - kmail2 won't add custom headers or picture to outgoing message
Summary: kmail2 won't add custom headers or picture to outgoing message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 2.1.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 09:52 UTC by Maciej J . Woloszyk
Modified: 2011-07-29 11:33 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 Maciej J . Woloszyk 2011-07-13 09:52:01 UTC
Version:           2.1.1 (using KDE 4.6.4) 
OS:                Linux

After migration (very painful) to kmail2 I finally got it into usable state. Unfortunately it seems that either the migration failed or there are bugs in it - I need composer to insert specific header into every mail I send out and I would like to be able to append a picture defined in my identity. Unfortunately kmail2 won't do neither - options are there and they are set exactly as they were in previous version but mails are sent without extra header or picture attached.


Reproducible: Always

Steps to Reproduce:
add custom header in settings->composer->headers and send mail

Actual Results:  
no header is added

Expected Results:  
header should be added

OS: Linux (i686) release 2.6.39-gentoo-r2
Compiler: i686-pc-linux-gnu-gcc
Comment 1 Maciej J . Woloszyk 2011-07-13 12:11:52 UTC
I've just checked the kmail 4.6.1 sources and I found that while the configuration of extra headers (and picture) is there there is no code to add these additional headers to the message that is being created. 

Is it possibly corrected in newer version of kmail? If not is there any timeline for this? Without this kmail2 looses some crucial functionality for me...
Comment 2 Laurent Montel 2011-07-13 14:08:32 UTC
I never use it.
Will look at it soon
Comment 3 Laurent Montel 2011-07-13 17:10:48 UTC
Picture is from identity ?
Comment 4 Maciej J . Woloszyk 2011-07-14 08:59:13 UTC
Yes. Picture from identity.
Comment 5 Laurent Montel 2011-07-16 21:31:56 UTC
Ok X-Face is fixed in 4.6/4.7/master.
Will look at extra header
Comment 6 Laurent Montel 2011-07-16 22:23:39 UTC
Ok for the moment customheader is not implemented.
I started to implement it.
Comment 7 Laurent Montel 2011-07-26 16:15:09 UTC
Fixed in 4.7/master
Comment 8 Maciej J . Woloszyk 2011-07-28 22:30:10 UTC
I don't really think it's fixed. First I installed it from 4.7.0 Gentoo package - changes aren't there. The X-Face is added and sent but custom headers aren't. Next I cloned master from git and compiled kmail from it (using Gentoo ebuild - I copied cloned directories into Gentoo directory and compiled/installed using 4.7.0 ebuild) - it compiles fine but when I try to send a message with custom header I get this error in console:

kmail: symbol lookup error: /usr/lib/libkmailprivate.so.4: undefined symbol: _ZN7Message16ComposerViewBase15setCustomHeaderERK4QMapI10QByteArray7QStringE

Did I do something wrong or is it something with kmail?
Comment 9 Laurent Montel 2011-07-29 09:27:34 UTC
gentoo package is not uptodate :)

install all kdepim sources and not just kmail.
and it will work.
Comment 10 Maciej J . Woloszyk 2011-07-29 10:52:13 UTC
Ok. This helped - it works now. Thanks.

PS. I still think kmail in its current form is horribly broken comparing to the previous non-akonadi version :(
Comment 11 Christophe Marin 2011-07-29 11:03:21 UTC
(In reply to comment #10)
> PS. I still think kmail in its current form is horribly broken comparing to the
> previous non-akonadi version :(

tell that to the users who suffered from bug 163071 or bug 185544 for years, they will have valid reasons to object to your statement.
Comment 12 Maciej J . Woloszyk 2011-07-29 11:33:19 UTC
I know this is not the place for this but I'll write it anyway...

I don't negate the need fot a change. A appreciate all the hard work that went into fixing bugs etc. I however am just a simple kmail user - I don't use other kdepim elements and after migration to kmail2 I can only say that it seems broken to me. It's terribly slow when opening folders, it does a lot of strange things previous version didn't (like strange artifacts when filtering messages, strange behaviour when opening folder (you never know at what end of messages list you will end), not marking new messages as new only as unread etc. etc. etc.). Most of this I can live with in hope it will improve in the future but as I used non-akonadi kmail for almost ten years I really am sad that great and fast program seem to have went back a few years.

Sorry for the rant, but that's my opinion.