thunderbird / import-export-tools-ng

Import Export Tools that supports Thunderbird v68-v128
Other
284 stars 31 forks source link

Unable to Import MBOX #169

Open matthewchua77 opened 3 years ago

matthewchua77 commented 3 years ago

Hi,

Sorry to ask a basic support question.

Upon clicking the "Import mbox file", there is no response.

cleidigh commented 3 years ago

@matthewchua77 that is what the issues are for! can you give me some details like the versions also, you have to have a folder selected on the left for the operation did you check the error console? Christopher

akariin commented 3 years ago

Hello, running into the same problem as well. Thunderbird 68.12.1 and tried up to 78.3.3. tried Addon versions 10.0.1, 10.0, 4.1.0, 4.0.3 and none of them worked out.

I'm trying to specifically import a mbox file, sized 12-13GB stored on an external drive. Tried import with and without an email setup in Thunderbird for all versions. All attempts, there were no signs of Import mbox window/finder menu popping up to select a mbox file. All other options for import-export-tools-ng work (options, import other types, etc) or produced a menu.

Consistent error message TypeError: msgFolder is undefined

Screenshot specs macOS El Capitan 10.11.6 (yes..) Thunderbird 68.12.1 Addon version 4.0.3 specifically. But same error occurs all the way to current version (10.0.1) thunderbirdimportmboxfail

cleidigh commented 3 years ago

@akariin quick question before we go further, do you have a subfolder under local folders selected when you choose the import ? this is one of the figures have to disable so that people do not have this issue assuming that's the problem Christopher

image

image

akariin commented 3 years ago

During the time I tested with the no accounts added, I didn't see an obvious way to create a "folder". Admittedly, this is the first time I was using Thunderbird and it is for the single purpose of reading an mbox and have no other email accounts associated in it. In other words, there were no generated local folders, so the folder selection would be blank.

When there was a gmail account added, only the top folder was selected (email address name). I have not tried selecting a sub folder as pictured.

alexschwantes commented 3 years ago

This tricked me up too. On a new install, without setting up an account, if you try to import via the tools menu, nothing will happen. You first need to add an account. I just added some dummy information and when it failed to connect I clicked configure manually and it created the folder structure you see above. Then I created a new folder under Local Folders, right clicked and then imported.

Not sure if its possible to add an information message to appear when someone tries this?

akariin commented 3 years ago

I created the subfolder, select the subfolder, right click and select the import mbox. I am able to see the import options.

I can confirm the mailbox was imported successfully now.

cleidigh commented 3 years ago

@alexschwantes @akariin @matthewchua77 I now understand a set of related issues here. I always have a test account and did not realize 78 does not create the default localF for the account I will look for a way to warn users/disable the options if no local file present I am close to releasing a maintenance release mainly targeting backups I will see if I can get this in also thanks for the testing and patience! Christopher

matthewchua77 commented 3 years ago

thank you!

On Fri, Oct 23, 2020 at 11:54 AM Christopher Leidigh < notifications@github.com> wrote:

@alexschwantes https://github.com/alexschwantes @akariin https://github.com/akariin @matthewchua77 https://github.com/matthewchua77 I now understand a set of related issues here. I always have a test account and did not realize 78 does not create the default localF for the account I will look for a way to warn users/disable the options if no local file present I am close to releasing a maintenance release mainly targeting backups I will see if I can get this in also thanks for the testing and patience! Christopher

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thundernest/import-export-tools-ng/issues/169#issuecomment-714892799, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARODN56YQAFMPJUPPNCINGDSMD467ANCNFSM4SXNCAMA .

-- Regards,

Matthew Chua

cleidigh commented 3 years ago

@matthewchua77 thanks everything else working well? Christopher

PhilD35 commented 3 years ago

@cleidigh

me too, I can't activate menu to import mbox (I created a new profile 'maildir' and I want to import archives of my old profile 'mbox' )

I created a directory test1 in LocalFolders, and select it. When I right-click, I don't see import mbox file in the menu

versions : thunderbird 68.11.0 kubuntu 20.04 ImportExportTools NG : Version 10.0.2: Version de maintenance - 14 novembre 2020 I tried also 4.0.4, without success

Why my (french) menu is so different than your (english) menu ? Why there is no reference to "import mbox"

Thanks for your help

image

cleidigh commented 3 years ago

@PhilD35 thanks for the post, your image attachment makes it very clear! also realize exactly the problem. the menu you see is based on the fact that you have maybe a new profile using maildir. what I think you need to do is start with a profile set up for mbox , import the e-mails you need (either mbox,eml) then convert the profile to use maildir. I do not think the original author ever contemplated this,but I have to make sure. let me know if this works Christopher

PhilD35 commented 3 years ago

@cleidigh

You are right : if I test in my old profile configured in mbox, I have this menu : image

So, in profile maildir, I can only import maildir, no mbox I can't use this to convert archives mbox to archives maildir :-(

So I did this : In old profile mailbox : I do a filter to get all mails from Archives in a virtual folder In this folder, I use ImportExportTools NG to export all mails as YYYYMMDD-HHMMSS-file.eml ( 25K) to a temp directory

With my file browser, I organise the temp directory with directoy and files *.eml by year

In new profile maildir: In LocalFolder/Archives folder, I use ImportExportTools NG to import all elm files from a directory (and wait )

That's done

I hope this will help other people they want convert mbox profile to maildir profile :-)

Thanks @cleidigh