MozillaZine

Saving an email as eml vs. html

User Help for Mozilla Thunderbird
sludge7071-g
 
Posts: 78
Joined: May 9th, 2016, 10:18 am

Post Posted February 10th, 2020, 9:18 am

I have been saving emails I need as html, because I thought eml is an outdated format - and reached EOL, a while back.

Then with an html email I just saved, I see this, with U+2019

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


https://www.babelstone.co.uk/Unicode/whatisit.html
U+2019 : RIGHT SINGLE QUOTATION MARK {single comma quotation mark}

If you save the email as an:
1.) eml . . . this character is as expected
2.) html . . . it changes this character to . . . ’

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Any idea what's going on here, with this character:

eml vs html, ’ vs ’

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Can I do something like this?

https://askleo.com/why_does_my_email_so ... _0d_in_it/

[from the comments] . . . I solved the problem of weird characters in email I receive in Outlook Express by unchecking the box labeled “Use default encoding for all incoming messages” in the International Settings section of the Fonts box on the Read tab under the Tools / Options menus. I proved it by toggling that setting off and on and off again. Don’t know if it works for anything other than Outlook Express.

TB / View / Text Encoding / Western

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Or, should I just save emails I need as .eml's, and not worry about not being able to view them in the future?

But, if it is an outdated, EOL format, why does TB default to saving emails as eml's?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

tanstaafl
Moderator

User avatar
 
Posts: 46338
Joined: July 30th, 2003, 5:06 pm

Post Posted February 10th, 2020, 10:06 am

.EML is not a obsolete format. Its just no longer used as the default storage format for recent Microsoft email clients. I'd call it a legacy format. .EML messages can still be imported into Outlook and many third party mail clients support importing/exporting .EML files, so its still a defacto standard, just for different reasons. The focus is now on avoiding vendor lock-in.

I don't expect Thunderbird to drop support for being able to view a message saved as a .EML file just because its less popular with Microsoft. Thunderbird is a cross-platform application.

Would you consider POP accounts obsolete? The account wizard typically defaults to creating IMAP accounts, the Thunderbird developers are clearly pushing IMAP, and email clients on smartphones usually only support IMAP. But POP accounts aren't obsolete. They're just a legacy feature. They will become less and less important over time but I don't expect them to ever go away. On the other hand it looks like support for movemail accounts (they're an option under Linux) might be dropped in the next major version of Thunderbird.

I don't know why the developers chose .EML for maildir lite, but the fact its a defacto standard and they already had code to support it was probably a factor. Maildir is all about avoiding file locking/unlocking, storing each message in a separate file, and what filename and directory structure is used, not the format used to store the individual message.

sludge7071-g
 
Posts: 78
Joined: May 9th, 2016, 10:18 am

Post Posted February 10th, 2020, 1:37 pm

Thx . . . I made this BAT file with NirCmd, and put a button in the Taskbar . . . 0xBD is a hyphen . . . I guess I will switch back to saving as eml's, but I think a while back, TB couldn't open eml, I looked around for something that would open them, couldn't find anything, and switched to html . . . then I got this character issue, am asking, and am now learning that eml will remain active

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@ECHO OFF

nircmd.exe win activate ititle "Inbox - Unified Folders - Mozilla Thunderbird"
nircmd.exe win max ititle "Inbox - Unified Folders - Mozilla Thunderbird"

nircmd.exe sendkeypress Ctrl+S

nircmd.exe sendkeypress End
nircmd.exe sendkeypress Backspace Backspace Backspace

nircmd.exe sendkeypress h
nircmd.exe sendkeypress t
nircmd.exe sendkeypress m
nircmd.exe sendkeypress l

nircmd.exe sendkeypress Home

nircmd.exe sendkeypress 2
nircmd.exe sendkeypress 0
nircmd.exe sendkeypress 0xBD

nircmd.exe sendkeypress 0
nircmd.exe sendkeypress 2
nircmd.exe sendkeypress 0xBD
nircmd.exe sendkeypress Spc

nircmd.exe sendkeypress Left Arrow

EXIT

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

sludge7071-g
 
Posts: 78
Joined: May 9th, 2016, 10:18 am

Post Posted February 10th, 2020, 1:50 pm

It looks like there are a few programs that can open eml's . . . https://fileinfo.com/extension/eml

I guess you can always change the file extension to txt or html, also, to see the contents.

tanstaafl
Moderator

User avatar
 
Posts: 46338
Joined: July 30th, 2003, 5:06 pm

Post Posted February 10th, 2020, 3:30 pm

"but I think a while back, TB couldn't open eml,"

Its been able to do so for over a decade. Its possible your problem was that somehow Windows was configured to have some other program (like Outlook Express) be associated with file extensions of .eml.

sludge7071-g
 
Posts: 78
Joined: May 9th, 2016, 10:18 am

Post Posted February 10th, 2020, 7:49 pm

I see I asked about this last June . . . viewtopic.php?f=39&t=3053551

They're a security risk - as email attachments, and get rejected

But to save in this format and view, they're ok, apparently

For some reason, TB would not open them for me, initially.

tanstaafl
Moderator

User avatar
 
Posts: 46338
Joined: July 30th, 2003, 5:06 pm

Post Posted February 11th, 2020, 1:45 am

Why do you care about some email providers rejecting .eml files as attachments? You can import .eml files as messages using the ImportExportTools NG add-on and then forward them normally.

sludge7071-g
 
Posts: 78
Joined: May 9th, 2016, 10:18 am

Post Posted February 11th, 2020, 5:13 am

. . . Why do you care about some email providers rejecting .eml files as attachments?

I don't. I never send emails as attachments. I always quote and respond line-by-line, for containment, to keep the focus . . . but, I was looking into limitations of the eml format, which you want to know, and found that.

. . . You can import .eml files as messages using the ImportExportTools NG add-on and then forward them normally.

Good to know, thanks!

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 9 guests