GithubHelp home page GithubHelp logo

thunderbird / import-export-tools-ng Goto Github PK

View Code? Open in Web Editor NEW
260.0 260.0 30.0 33.38 MB

Import Export Tools that supports Thunderbird 68/78/91/102/115

License: Other

JavaScript 35.96% HTML 63.23% CSS 0.18% Python 0.62% Fluent 0.01%

import-export-tools-ng's People

Contributors

cewbdex avatar cleidigh avatar denb10 avatar jobisoft avatar mr-update avatar olesyagerasimenko avatar ovari avatar tomsaul avatar tripleee avatar zacharesmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

import-export-tools-ng's Issues

Exporting e-mailaccount results in files of 0 bytes

Hi, I'm trying to export all the e-mails of a Gmail account in Thunderbird. When I choose the option 'Export all folders' it results in a MBOX file per folder. These MBOX-files are 0 bytes and contain no messages, although there are messages in the folders. (screenshots)

Schermafbeelding 2019-12-09 om 11 24 52
Schermafbeelding 2019-12-09 om 11 26 37

I don't encouter this issue when exporting the files of all folders with structure, but it looks like the emails of subfolders are not included.

Schermafbeelding 2019-12-09 om 11 27 56
Schermafbeelding 2019-12-09 om 11 28 24

dovecot maildir dir structure import failure

Import Export Tools NG/import all messages from a directory/also from its subdirectories
not functioning.
succeeds importing approx 10% folder structure but NO emails (regardless of whether the emails are dovecot-no-filetype or bulk renamed .eml)
Granted, am attempting to import 60GB of directories/sub-directories/sub-directories... :]

ps. not sure if I'm supposed to write the above here so, if not, my apologies.
pps. issue posted at: https://support.mozilla.org/questions/1273518
ppps. realise thunderbird "Maildir is disabled by default because there are still many bugs. It is not 100% ready for users"

Add scheduler for automatic Import/Export

Hey, I want to provide a Thunderbird e-mail solution for my colleagues.
My idea is that we have a directory on a NAS and each client automatically imports e-mail templates.
It would be sufficient if the automatic import is only executed every time Thunderbird is started.
But it would be even better if you could define a time interval by checking if new templates exist (and if so importing them automatically).

Thanks in advance,
TM

Options dialog fails on TB 69

document.createElement is deprecated, you now have to use document.createXULElement:

--- /old/ImportExportToolsNG/chrome/content/mboximport/mboximportOptions.js
+++ /new/ImportExportToolsNG/chrome/content/mboximport/mboximportOptions.js
@@ -33,7 +33,7 @@
 	var charsetList = IETprefs.getCharPref("extensions.importexporttoolsng.export.charset_list");
 	var charsetItems = charsetList.split(",");
 	for (var i = 0; i < charsetItems.length; i++) {
-		var menuitem = document.createElement("menuitem");
+		var menuitem = document.createXULElement("menuitem");
 		menuitem.setAttribute("label", charsetItems[i]);
 		menuitem.setAttribute("value", charsetItems[i]);
 		charsetPopup.appendChild(menuitem);

[email protected]

Live Mail EML Import problem

I am trying to import eml emails from my old computer with Windows LIve Mail to my new computer with Thunderbird Mail. (I am a fairly new TB user - about 6 months.) Ideally, I would like to import the entire folder structure. I've got the emails on a flash drive. I have downloaded and installed ImportExportToolsNG. I don't know how to make it work. I can't find any instructions.

I assume that I need to have my cursor in the folder pane on the folder where I want the messages to be placed, because it never asks me where to put them. I have created a folder in Local Folders and that is highlighted.

I have gone to Tools/IimportExportTools NG. I have tried "import messages" selecting just a few messages. Nothing happens. I have tried "Import all messages from a directory." Folders are moved but not the messages. What am I doing wrong?

Windows 10, TB 68.2.0

Thanks for any help.

Nancy

v4.0.4, TBird 68.2.1 (64) - Problems importing on Mac

o/

So title says most of it, anyway. I have an mbox I'm trying to import from a mac install, this is on MacOS Mojave 10.14.6. This is a completely clean install of Thunderbird - no accounts loaded in it, and all I wanted to do was import an mbox from a dead machine OS to rescue data. I have the mbox structure/files but it doesn't matter.

What's happening: After installing the extension, I go to Tools >> ImportExportTools NG >> and literally nothing I click here gives me any other options of file/folder selection windows. Nothing happens. Also, there appears to be an empty menu selection at the top of the list (image attached). Not sure what's going on here. I've tried disable/enable, uninstall/reinstall and the result is the same.

Any ideas are welcome! I'm probably missing something dead easy, so apologies in advance >_<
Screen Shot 2019-11-03 at 4 02 50 PM

Thunderbird debug error message

I get this debug message in the current version of TB, for v4.0.4 of this extension: "Reading manifest: Error processing xpi-name: An unexpected property was found in the WebExtension manifest." Thought you would want to know.

Cannot get ImportExportTools NG to install in Thunderbird 68.2.0

I can't use this highly recommended add on yet as it will not install for me.
I've tried several times. The error message I get in debugging with Firefox is ''Reading manifest: Error processing xpi-name: An unexpected property was found in the WebExtension manifest.''

Thank you

I just want to say thank you to the developer of this ongoing project.
Apologies if it is not the done thing but your work is very much appreciated.

SMS Backup

I'd like to backup SMS from my phone. I'd like to test it out, but the option inside the tool is always grayed out. Can anyone point me in the right direction with regard to what needs to be in place for SMS imports to work?

Mbox import dialog cancel button ignored

Hi there,

So I right click on a folder to test this new version, I click on import/export import, then Mbox file.

I click on cancel & it doesn't cancel, it brings up the Explorer window to find the file I was supposed to import.

Thanks

.dbx import issue

Hi, I've got thunderbird version 60.9.0 32bit and need to import .dbx files, is it possible?
Thanks a lot.

PDF export gets slower and slower with many messages

I am exporting PDF from a folder with thousands of messages. The longer it proceeds, the slower it gets. Looking at the directory listing, the size of the directory I'm writing to seems to be growing to the point where the underlying filesystem is probably experiencing issues.

ls -lart pdf-export | nl | tail -n 3
  2807    -rw-r--r-    1 tripleee tripleee  29958 Nov  1 13:25 200711120-Re_whoa-2116.pdf
  2808    -rw-r--r-    1 tripleee tripleee  30877 Nov  1 13:25 200711120-Re_I_suppose-2115.pdf
  2809    drw-r--r-    2 tripleee tripleee 229386 Nov  1 13:25 .

This is in a fresh Linux Mint 18.1 install running in Virtualbox. When I started the export it wrote on the order of 1200 messages per hour but now it's down to about 100 per hour.

A semi-obvious fix would be to divide the exported messages into subfolders, say one folder per 500 (though the pain point probably depends crucially on the type of the underlying file system).

(Auto) archiving structure in .eml

Hi there,

I'm wondering how big the work would be to have a way to export emails in .eml format, by keeping the structure of the folder ?

Is it something that's it's not possible or simply not -yet- implemented ? Exporting in .eml exist and keeping the structure (mbox format only) are both already existing.

I'm rather interested to dig into the code if it would be possible as it doesn't seems to be that complicated (as both function somehow already exists). Of course, I've only limited amout of dev. skill so a bit of help would be more than welcome.

PS: Ultimately, I would love to have a feature to automatically do that for email older than 6 months, but this seems to be a bit more complex on the current state.

Error Importing MBOX files with Subdirectory Option

Hi there!

First, thank you for your work on this extension, this tool is exceptionally useful and your work to maintain it helps A LOT of people out.

As for the issue, it seems that there is a problem importing MBOX files using the "Select a directory where searching the mbox files to import (also in subdirectories)" option. I assume that this option allows the user to select a directory where the extension will search in (as well as it's subdirectories) for MBOX files to import, similar to the "also from its subdirectories" option when importing EML files.

However, it currently appears that this is not the case. Unlike the EML option, there is no notification at the bottom telling the user that the directory is being traversed and updating on the status of the import. In my tests it seems to not be attempting to import any files.

I have no problem importing the same MBOX files directly or with the
"Select a directory where searching the mbox files to import" option, so I don't believe that it has to do with the files which I am using.

I am unfamiliar with the development of Thunderbird extensions or I would have looked through the repository more thoroughly to try to offer more narrowed guidance.

Thank you in advance!

SPECS:
ImportExportToolsNG Version - 4.0.4
Thunderbird Version - 68.2.1
OS - Windows 10

Clarification of 'Export to HTML with Attachments'

I'm pretty sure I am having this issue-
#22

But I'm having some trouble understanding the solution.
To explain-
When I use the Import / Export Tools NG to export a folder
'Export to HTML with Attachments'

If there is no emails in that folder, but there is subfolders that include emails, nothing is exported.
If there are emails in that folder, and also subfolders containing emails, it exports the emails in the first level of the folder structure, and ignores all subfolders

I'm guessing that the answer here is to make the folder structure simple and not have subfolders, but in the longer term please consider a feature request to be able to export and entire mail account including subfolders to HTML.

Setup
Mac OS v10.14.6
Thunderbird 68.2.0
Import/ Export Tools NG v4.0.4

In conclusion- thank you for your work, I'm blown away that this tool is even available.

Appear in Hamburger Tools menu?

Very glad to find this extension after updating to 68.0 today. One question: is it not possible to have the ImportExportTools NG menu appear in the Tools submenu of the 'hamburger' menu? I usually don't have the Menu Bar visible, and only using ImportExportTools occasionally I tend to forget I have to display the menu bar to find the ImportExportTools NG menu.

no MBOX import option

I am running Thunderbird 68.1.0 (64 bit) and version 4.0.4-tb of your software, and when I go through the menus to import MBOX email (after installing your xpi), there are no options other than Becky! Internet Mail and Outlook. Your add-in is listed in the add-in manager.

Am I missing something ?

Import thunderbird mbox to maildir profile not working

I am trying to import the old sent mbox files from thunderbird (in mbox mode) into thunderbird 68.1.1 (in maildir mode). My importexporttools-ng version is 4.0.4 and I am on Fedora 29 linux. Not sure if this is a bug or the monkey in the seat :)

When I changed from mbox to maildir as the default mailbox format, I created a new profile to do it. It was a couple of months ago and I am not sure how I got the inboxes imported but I did OK. Probably exported them while running the old profile then imported the directory in the new profile.

When I use this extension in the new profile to attempt an import from the Sent (next to Sent.msf) file, I have a couple of troubles.

1/ The file picker window does not show files without extensions so I had to rename the Sent file in the old profile to Sent.mbox and then select all files from the drop down.

2/ I right-click on the Sent folder in the new profile's folder pane and choose "Import messages", then choose the mbox file, and click "Open".
Nothing happens except a message in the bottom bar saying 1 message deleted from sent. And no messages get imported.

So am I using the wrong import menu item? If so, which menu item? There is no "Import mbox file" option.

I managed with a very small sent mbox file (8 messages only) by using a text editor and saving each message in individual eml files. Importing them worked fine.

Thanks, Graham

Export in pdf issue

for inbox messages:
when Save selected messages > PDF format
in the output file, in the header not all recipients in to:... and Cc:... field are showed but only the first item.
For sent message, all recipients are showed only if the full header view is activated.

Unable to import MBOXes

Thank you for updating this essential tool! I am still unable to import MBOX files though. That is, the folder shows up but there are no emails in it. This is on Linux Mint 18.3 with Thunderbird 60.8.0. Very frustrating! thank you.

Import mbox file - doesn't work

I uploaded this add to my thunderbird, it works without problems on the first computer, but on the second pc does not work. When I click in the menu "Import mbox file", nothing happens. I tried reinstall client and your add-on but it did not help. I don't know where is the error. Thank you in advance for your help.

Daniel

Edit: I probably made a mistake somewhere. Now I managed to import.

Export not working

With Thunderbird 60.9.1, I have emails from 2 Microsoft Exchange accounts (https://outlook.office365.com/EWS/Exchange.asmx) that are no longer active.

I can see the emails in Thunderbird. But I am unable to Archive, Copy or Move them. I have tried the AddOn "ImportExportTools NG 4.0.4", but it just stops after some of the emails (if I select a large folder) and in any case always results in .EML files (etc.) having 0 size. So it seems to have a bug! - It works with an active IMAP account!

I have tried this in Offline and Online mode!

Help please.
Thanks

Import problem with maildir format from Courier Mail Server backup

hello, ImportExportTools NG version 4.0.4 does not import email in the Maildir format used by courier-mta. When I use Import all messages from a directory โ†’ also from its subdirectories in the "Maildir" directory in my backup of my dead Debian courier-mta server, I get a new folder for every directory in the "Maildir" but they are all empty. There are other ways to import messages from a backup of courier-mta (by running imapd and reading the message via IMAP) so if ImportExportTools NG is not meant to be able to read this Maildir format perhaps this could just be noted. Thanks for this plugin.

createSubFolder throws error after large number of operations

For any operations involving the creation of message subfolders (import EML, etc)
Thunderbird will throw unknown error after successive createSubFolder.
Usually this occurs around 470+ operations. It can happen earlier.

Testing shows that JavaScript scheduler yields do not fix the problem.
Using folder creation promises / async/await a with a database update
currently looks promising.

This issue is related to:
#42
#50
@buggyboy
@cameronjpu
@braian87b
@nvanderperren

Working towards a beta
@cleidigh

Importing MBOX files always results in new folder (good) with only 1 mail in it (bad)

I tried importing a bunch of mbox files I made to migrate from Windows to Linux and always get the correct folder but there's only a single mail in it, the rest seems to get ignored. When I open the mbox files with Kate they look just fine.

Since I noticed there were some issues with file names I tried one renamed to 0.mbox, same result.

The mbox files were created with Becky! 2.74.02 on Windows 7 64.
I use Thunderbird 68.2.1 on Kubuntu 19.10 with import-export-tools-ng 4.0.4 to import.

import window only offers outlook and Becky

I just downloaded the latest version of Tbird 68.2.1 and the latest of this add on. When I go to the import tool it does not allow me to select mbox files location. The only options are Outlook and Becky.

TB68 Update - Item Tracking

Update Items:

  • Reformat js files - LF/Tab-4/basic Visual Studio code rules

  • Reformat XUL files

  • Add basic manifest.json @cleidigh

  • First CSS fixup

  • Menu installs

    • Tools (add on options)
    • Tools (main menu)
    • Account pop-up
    • Folder Pop-up
    • search overlay
    • messages pop up
  • Menu Functions

    • Tools (add on options)
      menu installed, opens options dialog - visually okay with CSS fix
    • Tools (main menu)
    • Account pop-up
    • Folder Pop-up
  • Overlay updates

    • Use messenger.xul for mboximport.xul in chrome.manifest
    • Add HTML namespace to all XUL files
    • Remove in-line scripts
    • Verify scripts can run after overlay
    • Remove stringbundles - load in JavaScript
    • groupbox / label changes
    • progressmeter => html:progress changes

PDF Export Error "Because of a Thunderbird bug ..."

I need to export a lot of email messages into PDF format. Can someone elaborate on what this "bug" is that prevents it from working on Thunderbird. By "this platform" does this mean there is another mail client that this supports?

Has the Thunderbird development team been made aware of this bug?

Force export

Is there any way to manually force an export?

Export with HTML-index doesn't work

The export of the messages (EML) without HTML-index works perfectly, and the 'HTML index only' option does also work, but if I select the EML export with HTML-index, nothing happens. As in, nothing. I tried both of the add-ons, both with and without NG.

Exporting mails issue

Hello, I'm trying to export all Data and profiles from thunderbird 60.9.0 to import it in Thunderbird 68 on a new computer with this tool but every option I use doesn't work. If I try "Export all files" ( the option in the tools menu above the "profiles export"; I use it in italian, I don't know how it's called in english version) he creates a file and then deletes it before I can use it. Is there a solution for this problem or am I doing something wrong?

Importing mbox created with ImportExportTools: subfolders not included

(See #49 about the export to MBOX files). After I've exported the e-mails with structure to MBOX and import them, the subfolders are not included in my import. The subfolders were not empty. The e-mails in these subfolders also disappeared.

The original structure:
Schermafbeelding 2019-12-09 om 11 03 12

The structure after exporting with IETools and importing them with subfolders (you can ignore the first two which are the orginal local folders):
Schermafbeelding 2019-12-09 om 11 35 38

Export HTML with Attachments doesn't export attachments

I have been successfully using ImportExportTools with a pre-68 version of Thunderbird to export email messages as HTML with attachments. This is a very useful and critical feature for me and is the main feature of the extension that I use.

When I upgraded TB to version 68 and installed ImportExportToolsNG, the HTML exports properly, however no attachments are exported and there are no attachment links in the HTML that is exported.

My system is Windows 10 Pro, 64-bit, Intel.

I did note that Thunderbird installed as a 32-bit version. Not sure why or if this would make a difference. All other features in Thunderbird seem to work fine.

While I am a computer programmer, I am not familiar with Thunderbird extensions at all. I did try debugging and stepping through the code and what I noted is that it never executes myTxtListener.onStopRequest68() under exportAsHtml(), which is where the code that sets up the Attachment folder is.

Thanks for the help,
Jesse

Add Export to Microsoft PST File Format

It would be really helpful to have the ability to export to Microsoft Outlook PST archive files. I believe there are free APIs out there that would facilitate this (python, at least).

Export as CSV comes out as HTML

Right Click --> ImportExportTools NG --> Export all messages in folder --> Spreadsheet (CSV) produces an output file in a HTML format not a CSV format! Sample file attached (but renamed from .csv to .txt so GitHub will let me upload it. Any help you can provide would be appreciated!

index.csv.txt

PDF Export writes messages in reverse order

It doesn't seem to matter how I arrange the message view -- the PDF export writes them from newest to oldest, rather than the opposite. This is easy to fix if you are moderately computer literate, but a weird quirk which should hopefully not be too hard to fix.

(Giving the messages a sane naming structure would also help. It seems that the message's index number within the folder is the last component of the filename before the .pdf extension.)

v4.0.4, TBird 68.3.0 (64) - Problems importing on Mac

Hi.

We are trying to import Emails into Thunderbird to stop using AppleMail.

This is what happened:

Last week we made a TimeMachine Backup from (probably) latest Catalina, and on a new computer with latest Catalina we imported using the first time Migration Assistant.

After Migration AppleMail does not show emails on search results, or even some search result does not appear at all, so we tried to rebuild indexes using the Mailbox-Rebuild Index but that does not worked, we also tried to drop the indexes files but since there is about 4gb on ~/Library/Mail/V3 and 70gb on ~/Library/Mail2/V7 it lost the emails from ~/Library/Mail2/V7 (newer ones), all of this following official instruction on Apple Forums were users reported similar issues with mails on Apple Mail after MacOs Upgrades like Catalina

So, I tried to import the ~/Library/Mail/V3 and ~/Library/Mail2/V7 using Import-Export-Tools-NG using the "import eml files from folder and subfolders",
In some moment the process stops and does not bring any of the messages, it just creates the folders and subfolders (but I don't know for sure if it create its all of them).

Tried only using Mail/V3 and later only using Mail2/V7, both fails, also tried to rename all the .emlx files to .eml to see if it works.
and renamed the folders removing the mbox from the name from INBOX.mbox toINBOX and it fails the same.

I attach some screenshots showing the folder structure of the AppleMail after the renamings and the error that appeared on the Thunderbird console.

WhatsApp Image 2019-12-16 at 16 39 54

WhatsApp Image 2019-12-16 at 16 39 54(1)

Current Functionality - item reference

Tools Menu --> ImportExportTools or Context menu on folders panel --> Import/Export

  • export of folder in a single file (mbox format), with also the subfolders if you want;
  • export of all messages in single files (eml or html or plain text format or CSV), with attachments and an index;
  • export of all messages in PDF format (required ImportExportTools 3.0 or higher)
  • export of all messages in one single plain text file;
  • export of index of the messages in a folder (HTML or CSV format);
  • mbox files import;
  • eml files import;
  • emlx files import;
  • import of all the eml files existing in a directory;
  • export of all files of all mail files of the profile (just from the "Tools" menu);
  • import of a saved profile (just from the "Tools" menu, required ImportExportTools 3.0 or higher, not available for Seamonkey)
  • search with various criteria and export messages;
  • import SMS from the programs "SMS Backup and Restore" for Android and Nokia2AndroidSMS;

File menu --> Save selected messages or Context menu of thread panel --> Save selected messages

  • saving multiple messages in eml/html/plain text format with just one click;
  • saving multiple messages in PDF format with just one click (required ImportExportTools 3.0 or higher)

Message menu --> Copy to clipboard or Context menu of thread panel --> Copy to clipboard

  • copy the message or all headers to clipboard.

Context menu on an EML attachment

  • import file in the folder

ImportExportTools can also perform a scheduled backup of all profile's files or just of mail files and NOW CAN IMPORT A SAVED PROFILE (required ImportExportTools 3.0 or higher, not available for Seamonkey)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.