Adding folders automatically
I have about 100 folders I need added to Thunderbird. I didn't want to create them one by one, so I wrote a DOS batch file to duplicate one of the .msf files (empty) in my folder and renamed it according to what I want the folders to be named. Didn't work.
Any suggestions on how to add multiple folders to my email with Thunderbird?
All Replies (4)
MSF files are index files of the contents of the folder. If you delete them Thunderbird will recreate them.
How you go about what your doing depends on why you want it and what sort of mail account your trying to apply it to.
For a pop mail account, simply adding files such as MynewFolder. and MyNewFolder1. will add the folders in Thunderbird. As long as they are inserted into an existing folder such as Local Folders. If you want a sub folder you must also create a filesystem folder of the name of the Thunderbird folder. For example MyNewFolder1.sdb Note the file MyNewFolder1. must also exist.
Doing the same for an imap account is not going to be anywhere near as successful.
Note that the file system changes MUST be made with Thunderbird closed.
Ọ̀nà àbáyọ Tí a Yàn
Matt, thanks for the reply. Fortunately enough, I didn't change my account in GMAIL to allow POP access because, as you well know, the files would then be removed from the gmail account I am administering. Since Gmail is the preferred interface for my client, I do not have the option of enabling pop.
With that said, I finally got the job finished and wanted to post how I did it here. I am sure that there are better ways, but here is what I ended up doing:
From Quickbooks, I rendered a report for all of my clients and vendors and output the results to Excel. From Excel, I combined the necessary strings with the account names by adding columns and formulas like this: NOTE: I spent at least 30 minutes trying to format this politely and this forum software is such garbage that there was no way to get it to look nice. Sorry about COL C, but seriously Mozilla, do something about this forum software. It's 2015 and you are supposed to be a leader in this field. COL A : entered the literal text for DOS command to make a directory COL B: entered the path to the destination folder followed by a back slash COL C: entered either the literal text CLIENT or VENDOR COL D: put all the client and vendor names COL E: entered the formula below to join the columns
=$A2&' "'&$B2&$C2&'\'&$D2&'"\n'
RESULT: mkdir "c:\users\temp\mail\CLIENT\John Doe"
COL F: entered the formula below
=$F1&$E2 (copied down the column to the last row)
Then in the last column,last row, I copied the cell contents and pasted their value into a text editor to save as "Make Folders.bat"
Then, I installed the Thunderbird extension named "LOCAL FOLDERS" and created a new local folder (pointing it to the parent folder above).
Then I restarted Thunderbird, opened my account and VOILA, the folders were there. I simply copied them from the local folder to the root account folder and instantly they were added to Gmail as labels.
Hope this helps someone else who is trying to add multiple labels to Gmail.
Feel free to email me to request the source Spreadsheet on Google Sheets so you can do this yourself for free with no charge.
aestheticallycorrect said
Matt, thanks for the reply. Fortunately enough, I didn't change my account in GMAIL to allow POP access because, as you well know, the files would then be removed from the gmail account I am administering.
I know nothing of the sort, I use POP on my gmail account and have thousands of emails on the server. It is just a matter of turning off Thunderbird setting to delete mail. it is in Tools menu (alt_T) > Account settings > server settings, although unless you turn off gmail default here https://mail.google.com/mail/#settings/fwdandpop gmail ignores delete commands from mail clients anyway.
Since Gmail is the preferred interface for my client, I do not have the option of enabling pop.
I sincerely hope I have disabused you of that notion. Personally I prefer POP for most accounts
NOTE: I spent at least 30 minutes trying to format this politely and this forum software is such garbage that there was no way to get it to look nice.
No argument from me. I feel like I am just bashing my head on a wall to make the pain go away. Your more than welcome to add your voice in the contributors forum https://support.mozilla.org/en-US/forums/contributors
WTF or why is the post now blockquoted by using the quote link looking so different when displayed as a solution.
It may be use of ' characters. But I do not wish to try editing the post it seems best to leave as was. (Blockquote preserves evidence when viewed by Admins or Mods; in edit mode; even if forum display suggests otherwise)
Note contributors forum has a post about this thread .
aestheticallycorrect said
Matt, thanks for the reply. Fortunately enough, I didn't change my account in GMAIL to allow POP access because, as you well know, the files would then be removed from the gmail account I am administering. Since Gmail is the preferred interface for my client, I do not have the option of enabling pop. With that said, I finally got the job finished and wanted to post how I did it here. I am sure that there are better ways, but here is what I ended up doing: From Quickbooks, I rendered a report for all of my clients and vendors and output the results to Excel. From Excel, I combined the necessary strings with the account names by adding columns and formulas like this: NOTE: I spent at least 30 minutes trying to format this politely and this forum software is such garbage that there was no way to get it to look nice. Sorry about COL C, but seriously Mozilla, do something about this forum software. It's 2015 and you are supposed to be a leader in this field. COL A : entered the literal text for DOS command to make a directory COL B: entered the path to the destination folder followed by a back slash COL C: entered either the literal text CLIENT or VENDOR COL D: put all the client and vendor names COL E: entered the formula below to join the columns =$A2&' "'&$B2&$C2&'\'&$D2&'"\n' RESULT: mkdir "c:\users\temp\mail\CLIENT\John Doe" COL F: entered the formula below =$F1&$E2 (copied down the column to the last row) Then in the last column,last row, I copied the cell contents and pasted their value into a text editor to save as "Make Folders.bat" Then, I installed the Thunderbird extension named "LOCAL FOLDERS" and created a new local folder (pointing it to the parent folder above). Then I restarted Thunderbird, opened my account and VOILA, the folders were there. I simply copied them from the local folder to the root account folder and instantly they were added to Gmail as labels. Hope this helps someone else who is trying to add multiple labels to Gmail. Feel free to email me to request the source Spreadsheet on Google Sheets so you can do this yourself for free with no charge.