Closed Bug 238271 Opened 22 years ago Closed 16 years ago

Save message As Text (or HTML), file gets double extension .eml.txt (or .eml.html)

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: olh, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.6) Gecko/20040113 When I save an e-mail as a .txt file, Thunderbird names the file [subject].eml.txt instead of [subject].txt Reproducible: Always Steps to Reproduce: 1.Right-click any e-mail in Thunderbird and choose "Save as..." 2.Save the e-mail on disk as a text file Actual Results: The file was named [subject].eml.txr Expected Results: It should have been named [subject].txt
*** Bug 239321 has been marked as a duplicate of this bug. ***
If you use Save As HTML, you get a very similar result: MailSubject.eml.html Workaround: type any other filename -- even just delete one character and then retype it -- and the ".eml" will not be included in the filename. This is true for Mail/News as well as TB, but despite a lot of searching I couldn't locate a dupe there. Moving bug to Mail/News. Similar to bug 163254, but not really the same. Bug 241639 claims to be "163254 reborn" but it might be a different problem which *is* the same as this one.
Assignee: mscott → sspitzer
Status: UNCONFIRMED → NEW
Component: Mail Window Front End → Mail Back End
Ever confirmed: true
Product: Thunderbird → MailNews
Summary: when saving to .txt files, Thunderbird adds double file extension .eml.txt → Save message As Text (or HTML), file gets double extension .eml.txt (or .eml.html)
Version: unspecified → Trunk
no, those two bugs are specifically about downloading files. this one probably just has to do with nsIFilePicker or something
Per bug 247483, this symptom occurs on Mac OS X as well. Updating Hardware/OS.
OS: Windows 2000 → All
Hardware: PC → All
Product: MailNews → Core
Blocks: 269826
No longer depends on: 269826
*** Bug 239199 has been marked as a duplicate of this bug. ***
same thing with thunderbird 1.5 and windows the nice thing will be an option to specify the file type by default and not a better way to correct the suffix.eml in order to have .txt as first choice unstead of .eml
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
I get the feeling there is a lot more work to do with EML attachment handling. I've had some embarrassing site issues with embedded EML attachments which frequently arise when Outlook clients are in the forwarding chain. Apart from this bug and the EML printing bug (392507) I recently reported, I just noticed that if you save an EML attachment as an EML file and then try to view it, you will only see raw HTML.
QA Contact: backend
Product: Core → MailNews Core
This has slightly changed, but is still from optimal in Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0 Select "save as" in context-menu of message in list. Dialog pops up asking for location: Filename is [subject].eml. a) Click "OK" and an file with content message/rfc822 is saved. b) Use the drop-down menu in the lower right and select "HTML" as filetype: the list in the file-browser hides the previously saved .eml file, but the extension in the suggested filename stays ".eml". Click "OK" now and later "Replace", when asked if you want to overwrite the existing file, and a file with content text/html is saved. There is no double extension any more, like reported above, but thunderbird should change the extension in the suggested filename, so that it correctly specifies the type of content of the file without the user manually overwriting it in the save-as dialogue.
(In reply to comment #9) > > There is no double extension any more, like reported above, but thunderbird > should change the extension in the suggested filename, so that it correctly > specifies the type of content of the file without the user manually overwriting > it in the save-as dialogue. Yeah, that's a problem with our filepicker implementations on XP, Mac and Linux -- see the dependencies to bug 514497. Since this particular bug is not visible any more, I'm going to resolve it worksforme.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.