New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Save message as file' action does not work properly with forwarded messages #131
Comments
So I did a little more digging and I found that if you forward a message, edit the subject and remove the fwd: , the 'Save message as file' works as intended |
Interesting - some mismatch with the original email? We will see... |
I kept on digging a bit. Replying works. Replying multiple times to the same email works. Normal mail works. Only ' Fwd: ' in the subject causes problems, as seen in the picture. I noticed that when handling a 'reply', the action saves the email but removes the 'Re:' from the subject. On the other hand, when handling a 'forward', it tries to keep the 'Fwd:' and fails. I suspect that the colon ':' might be causing the problem. Maybe the algorithm that scans the subject to create the filename has problems dealing with the ':' ? |
great stuff thanks for finding that - it will surely be helpful when I recreate the problem. |
I think the problem is the fact that the windows filesystem does not accept the colon ':' in the filenames. I even used Thunderbird's built in 'Save As' ability and it saves the email using the subject as filename but removes the colon. If you try this in Linux, it will probably work as the filesystem accepts colons. I think the problem is that the addon tries to save a filename with a colon in it and that is a no no in windows. And for some reason it does it in Fwd: (it works fine in Re: - it removes the : there?). Just my two cents. Great addon, take care! |
Well, I copied the thunderbird profile from windows and I put it in Linux Mint. As expected, it works there. It almost certainly is the ':'. It needs to be cleared from all windows filenames generated using mail subjects because NTFS does not like it and I suppose other characters that cause the same problems with NTFS should be cleared from generated filenames as well, like / ? < > \ : * | " Thanks for your time, take care! |
There is a test version on #144 - I think this one can safely be regarded as duplicate. |
Fixed in 3.3, officially released today (21/02/22) |
I'll give it a try and let you know :) |
Hi.
I have tried the 'Save message as file' action and it works fine except when the received message that needs to be filtered is a forwarded one. Then it saves a simple 0 bytes 'fwd' file without extension. I've tried multiple thunderbird versions, from 78.14.0 portable to a 93.0.1 normal installation and I get the same result. The 'Save attachments to' action works fine with all kinds of messages. Note: The forwarded messages that were used for testing were from gmail.
Any thoughts?
The text was updated successfully, but these errors were encountered: