when loading attachments on demand. Please check if that fixes the attachment thingy.
CCMAIL: 85288@bugs.kde.org
svn path=/trunk/kdepim/; revision=334925
Now we sent redirected messages which are conform to RFC 2822.
Thanks to Ingo for pointing me into the right direction.
CCMAIL: 51283-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=333330
If we do KMMessage::fromDwString(), we get to the calls that set the various
state flags from header fields. If those header fields are not there, then
setMDNSentState( 0 ) will be called. But 0 isn't a value in the resp. enum.
Catch this case and make it set the mdn sent state to unkown instead.
svn path=/trunk/kdepim/; revision=330149
(better than <foo.h>, especially when systems could have an identity.h somewhere)
A kconfig_update script moves the identities from kmailrc to emailidentities
svn path=/trunk/kdepim/; revision=311347
folder after sending instead of the indentity sent-mail folder. This
overrides the identity setting, which I think makes sense. We'll have to
see if it causes trouble in some way.
There is no gui for this yet, as I would appreciate the input of Aaron
"Folder Properties" Seigo as to how to add yet another option to that
dialog without making it even taller than it already is. So to try this
you'll have to add a PutRepliesInSameFolder=true to the config section
corresponding to the folder you want to set it for.
This commit message is now officially longer than the whole patch. :)
svn path=/trunk/kdepim/; revision=302497
work anymore correctly because the messages were treated as if the user
wanted to edit a HTML message. This was fixed by introducing a new
private header X-KMail-Markup which is set to "true" for HTML messages
which the user creates with KMail.
- Fix another HTML editting regression: Plain text messages with a HTML
attachment were treated as multipart/alternative messages. This was fixed
by checking whether the parent of the text/html body part is a mp/alt bp.
- useHTMLEditor -> mUseHTMLEditor (member variables must start with an 'm')
- Remove superfluous toggleMarkup calls from the c'tor since this is done
in setMsg and since it was anyway much too simple (and therefore wrong).
- Move some local variables to where they are really used.
- Remove kdDebug which dumped the whole message.
- Show the HTML toolbar if toggleMarkup( true ) is called so that the
toolbar is visible if the user edits a HTML message.
svn path=/trunk/kdepim/; revision=299377
Implementing automagic mailing list handling: KMail can now detect whether
a folder stores a mailing list in which case it will try to determine its post,
subscribe, unsubscribe, archive and help addresses.
Aaron could you figure out where the kaction's invoking post,subscribe... could
be put?
CCMAIL: aseigo@kde.org
svn path=/trunk/kdepim/; revision=295216
You don't need getMsg anymore for the UID and LOD can check the size without loading the header.
I updated the online imap folder but dimap should also use the new code.
svn path=/trunk/kdepim/; revision=288206
- Bug 72808: reply to myself is broken / empty To: address field
- Bug 62919: reply all should not use From when ReplyTo is set (except for mailing list messages)
svn path=/trunk/kdepim/; revision=284206
candidate_for_3_2_1: We want the type as string, not the complete raw content-type header. Fix the only real caller and remove the other calls to this method, whose values were assigned to unused variables
svn path=/trunk/kdepim/; revision=281272
Refactor partNode creation from a KMMessage into a static method on partNode and port users to it. In the process of this, I found out that KMMessage, KMSaveAttachmentCommand and KMReaderWin all used very slightly different methods to instantiate the root item. I think most of them were wrong:
KMMessage's way (originally spread over two methods...) leaks mainBody...
KMReaderWins' way adds firstBodyPart as a child of itself...
KMSaveAttachmentsCommand doesn't adjust the mimetypes.
So that's why this is experimental: I've combined the various ways with majority vote: two adjusted the mimetypes, so mimetypes are adjusted. Only one added a part as child of it's own, so that's no longer being done, etc.
--and--
Replace broken, complicated logic with clean and simple one. Parsing is cheap in mimelib. That gives us the full MIME headers also in the top-level container partNode, which is needed in ae_branch to get at the protocol-Parameter of mp/signed parts...
svn path=/trunk/kdepim/; revision=281270
Don't word-wrap the quoted text when replying if word wrapping is disabled (even if smart quoting is enabled because smart quoting also strips off the signature). Eventually we should split smart quoting into 'strip off signature' and 'word-wrap quoted text' and the word-wrap column should be independent of the word-wrap option to make clear that the column is also used for word-wrapping quoted text.
svn path=/trunk/kdepim/; revision=275167
Please excuse the addition of the new strings i18n("Message->","&Reply") and i18n("Reply to A&uthor..."). I hope it doesn't cause too much inconvenience for the translators.
CCMAIL:kde-i18n-doc@kde.org
svn path=/trunk/kdepim/; revision=272991
This should fix a bug with ad hoc filters crashing when they move a message
to a different folder.
And also fix the bug/limitation that the move to folder action has to
come last in the list of filter actions for a filter.
This commit doesn't really use the action scheduler, code to use the
action scheduler in kmheaders and kmcommands is commented out.
I've been testing this code for a few weeks now. The changes to the
assignment operators in the kmmessage and kmmsgbase classes are the
changes I'm most concerned about here.
svn path=/trunk/kdepim/; revision=264912
- Use default domain as domain part of the guessed email address of the default identity.
- Remove unused pwd.h and unistd.h headers.
svn path=/trunk/kdepim/; revision=256409