I had a long discussion with support and finally I was able to get my primary googlemail account to work again. Then the secondary one briefly acted up, but it is presently also working. The main idea from support was that the MESSAGES.TBB and MESSAGES.TBN files of my primary account's
Inbox folder may have been corrupted. Here the step by step, from
Support, if this issue occurs for someone else:
- 1. Create a new folder in your 1st account
- 2. Copy all messages from the Inbox folder in the new folder (Ctrl+A, then Ctrl+C)
- 3. Close The Bat!
- 4. Open your mail folder via "Start -> Run -> %email% -> OK"
- 5. Access the folder of your 1st account
- 6. Open the Inbox folder
- 7. Delete MESSAGES.TBB and MESSAGES.TBN files
- 8. Launch The Bat! - your Inbox folder will be empty now. Try to receive new mail now.
Ironically, as it turns out, I use a relatively complex set of sub-folders (even sub-sub-folders, 30+ of them) inside of the
\Inbox... this may not be ideal. Using
Ctrl+Shift+Cursor-keys I selected these
folders one-by-one and moved them into a newly created top level folder called
\Archive. I did not "Delete MESSAGES.TBB and MESSAGES.TBN files" at this point, but did a F2 (Get New Mails) and everything worked again. It seems that moving about the folder structure in The Bat! (to neaten up things), can/may have side effects. In this case fixing my issue. I later did delete the two files as mentioned in point 7. and everything continued to work. I.e.
no more crashes and the
download/sending of emails worked again on the
primary googlemail account.
Tangent: Now here I want to mention some strange things that in the end actually helped me recover messages/emails that I thought I had lost in May 2022 (using The Bat!
v9 back then, presently using v10.1). Apparently there are mechanisms in The Bat! to hide folders and to show them again. Well in May 2022 I used the
Ctrl+Shift+Cursor-keys to move around quite a few folders from my primary account. And at some point, i.e. after relaunching The Bat! these were sudden gone. When clicking on folders/an account you can right-click and
Find Lost Folders... that should have found my "lost" folders, but as I tested this yesterday, it did
not. Now by moving everything out of the primary account's \Inbox there should no longer be any local files there (except for MESSAGES.TBB and MESSAGES.TBN). Turns out, when you check your local files (on the HDD) via %email% path for the primary account, that the \Inbox folder actually contained several folders, and was not empty at all. Inspecting these turned out to be The Bat! folders that I had lost due to a "glitch". Luckily, The Bat! lets you use
- Tools menu -> Import Messages -> From The Bat! message base v2 (.TBB)
to import the MESSAGES.TBB file that every one of those lost folders contains manually. Thus all this huha let me find and re-import my lost messages/emails. And I am really thankful for that. I am still not clear what was going on here, but I suspect the very
powerful ability to move around The Bat! folders in the accounts via
Ctrl+Shift+Cursor-keys, can
lead to unexpected side effects. Well, in my case at least, that happened twice now (once losing folders, once fixing the Inbox getting message crashes).
Tangent 2: Now after all that, I wanted to send an email from the secondary gmaccount2, to the primary one gmaccount1 (as a test), but suddenly the gmaccount2 is asking me to fill in a password, even though it is running via OAUTH authentication for email receive *and* send. Now, just a few hours ago I updated the properties for that account
- gmaccount2 -> Properties -> Options -> Check mailbox at start-up
from on to off. I re-launched The Bat! but issue is still there. Turned gmaccount2 receive authentication to "regular", as a test, this let me re-enter the account's gm server password under properties. Tested again, failed. Switched receive authentication back to OAUTH, re-launched The Bat! and still it did not work. Apparently, after another re-launch of The Bat!, when I wanted to write up a bug report to support, and me testing sending of emails on gmaccount2, suddenly everything worked again. No asking for passwords. Email send and receive work.
Now I suspect that The Bat! (even v10.1 I am using)
glitches out sometimes when you
change the properties of an
googlemail account. And only after some "fiddling" and re-launches The Bat! fixes itself again.
Context: Please note, I have been using The Bat! for more than 20 years, and some of the accounts on there are from over 20 years ago. The two googlemail accounts are 14+ and 13 years old. So in all that time backupping the account, then reimporting them into a new PC build (twice) over all these years is bound to lead to issues... but up until the beginning of September 2022, I never had such problems. So is this also my fault for using The Bat! for such a long time continuously? In part probably yes.
Summary: 1. I would recommend you do
not archive/sort *all* your emails/messages into \Inbox, as I did. Instead create new top level folders in your account and move the incoming messages from the Inbox into these new folders if you want to archive them.
2. When
moving around account folders (i.e. changing the order folders are shown on-screen) in The Bat! using the
Ctrl+Shift+Cursor-keys, be very careful, or avoid doing that to begin with.
3. Finally, keep an eye on
changing the properties of email accounts in The Bat!, don't needlessly change settings. Or it may lead to glitches.
Conclusion:I think that my primary googlemail account's
Inbox, i.e. its local files
MESSAGES.TBB and
MESSAGES.TBN, had some issue (as Support suggested), and all the fiddling about at some point fixed them and thus fixed the download of emails, i.e. no longer crashing The Bat!. Should you ever need to delete those two files, copy all the messages in the Inbox to another folder first though (again as Support suggested).
Hope all this will help someone else, one day. Thanks for to the folks here and Support for reading and the suggestions.