GNOME Bugzilla – Bug 271567
messages with horizontal tab character in subject header stay in outbox
Last modified: 2006-03-04 09:47:42 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. create new message 2. put 'text <horizontal tab> text' in subject using copy/paste. (Typing doesn't work, since the tab will move the cursor to the next input field). 3. send the message Actual Results: 1. Evolution warns that it couldn't save the message in the 'Sent Items' folder of the echange server, and that it will save the message in the local 'Sent' folder instead. 2. Evolution delivers the message. 3. The message stays in the outbox. Expected Results: Evolution should save the message in the central 'Sent Items' folder and remove if from the outbox folder upon delivery. How often does this happen? Every time. Additional Information: The used mail account is an 'Exchange Server' type account. I haven't tested IMAP or other types of accounts yet.
maybe tab is breaking exchange stuff. it works fine for smtp. the other problem with things staying in outbox is fixed now, it just uses the local sent as a fallback, and warns the user what happened.
Now it properly sends the mail even with tabs in the subject. But by default it saves the sent mails in the local sent items folder. It doesn't show any warning. And the mail doesn't stay in outbox at all.
based on comment #2, closing the bug. Please re-open if you still see the issue with any newer versions.
It still happens. Mail will be sent but cant be attached to the exchange folder. This is because TAB acts a delimitter and hence URL gets garbled. Reopening.
*** Bug 328555 has been marked as a duplicate of this bug. ***
*** Bug 269833 has been marked as a duplicate of this bug. ***
Hindering the mail-import operation. Hence will affect the user migration from Outlook. So increasing the severity and retargetting for 2.6
Created attachment 60533 [details] [review] Fix
As I understand, this check will be performed during 1. import 2. copy mails to exhcnage folder 3. move mails to exchange folder 4. store sent items in exchange account's sent folder and 5. apply filter I think this check will hit the performance in case of applying filters on loading evolution. As of new, with the huge mail boxes and remote servers loading exchange account seems to be slow. I feel, if we can send mail and on failure from server, check the error code and based on that, modify the subject and resend the mail, it'll be better. apart from these GString "new_subject" needs to be freed. and you might want to handle NULL subject mails also.
When we copy mails within Exchange folders, append-message will not be called. So filters wouldnt give a performance hit due to this parsing. There is a memory leak in new_subject. Will free it before committing.
Created attachment 60624 [details] [review] Updated patch
Please use g_string_free for freeing GString before commiting.