Importing from M2
-
I'm trying to import emails from my Opera Mail standalone.
What I'm doing:
- Installed snapshot 3.7.2218.29 (standalone)
- Enabled Mail in experiments, restarted browser. So profile is empty.
- "File" | "Import from Application of File" | "Opera 12.x" | Un-ticking everything except "Mail"
- "Choose a folder" ("Use Default Profile Location" checkbox is un-ticked and disabled in my case)
- I'm selecting "J:\Data\Opera\Opera\Mail" folder (this folder is specified as "Mail Root Directory" in operaprefs.ini and file accounts.ini and directories 'store', 'indexer' etc are in this folder).
- "Import in progress" displayed, but nothing actually happening.
Looks like it does not matter what folder I'm selecting, I tried absolutely random folder like "C:\Temp" with the same outcome.
In addition, I tried parent folders ""J:\Data\Opera\Opera", "J:\Data\Opera".
Also, I tried to select "profile" folders "C:\Users\USER\AppData\Roaming\Opera Mail" (operamail.exe in this folder) and "C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail" (operaprefs.ini in this folder).I was not able to find any log files.
Any ideas?Thanks.
-
@fifonik Choose the Profile folder:
\Opera 12.18\profile
-
@Pesala said in Importing from M2:
profile
I do not have "profile" folder at all with my Opera Mail standalone.
Could you advise, what files are in these folder?My "C:\Users\USER\AppData\Roaming\Opera Mail" (that I believe is the "profile" folder) looks like this:
-
@fifonik I see now, you are using the Opera Mail standalone, not Opera standalone.
-
This import is pretty raw still. Sorry for that. I guess that you need to set it up so it fits what we have in a Opera 12 install with mail:
That means that the selected import folder should contain a "contacts.adr" and a folder called "mail". The "mail" folder should then contain "accounts.ini" and a folder called "store". The "store" folder must contain the messages catgegorized by accounts and dates. -
@ltgorm said in Importing from M2:
This import is pretty raw still. Sorry for that. I guess that you need to set it up so it fits what we have in a Opera 12 install with mail:
That means that the selected import folder should contain a "contacts.adr" and a folder called "mail". The "mail" folder should then contain "accounts.ini" and a folder called "store". The "store" folder must contain the messages catgegorized by accounts and dates.Since my mail is stored on a different drive (for backup purposes and because I used to access it from different PCs on the network), would import work if I create a link to the actual location in the user profile? I know Linux is quite good at treating links like real directories - not sure about Windows...
-
@ltgorm Thanks a lot. I will try to organize my files in this structure.
UPDATE: It is working now! At least I see that some accounts were created, HDD is working and number of email in Vivaldi increased!
UPDATE 2: Import finished (source and destination were on SSD, ~9000 emails were imported in a few minutes).
Profile folder in my case was here:
C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail\This is the folder where contacts.adr and operaprefs.ini located (as per screenshot).
"mail" folder was moved to another disk and its location were provided in the operaprefs.ini. When import start to read operaprefs.ini I will not need to change anything to repeat the import.I'd recommend to make the following changes in import:
- Show description what the profile folder is ("mention contacts.adr")
- Show an error if selected folder is not what import expected
-
@mossman
do you have your maildirectory pointed via operaprefs.ini? That's my way for the same reasons as you have.
Perhaps I wait a bit longer, until I import mails (and work all the time with M3) -
@derDay said in Importing from M2:
@mossman
do you have your maildirectory pointed via operaprefs.ini? That's my way for the same reasons as you have.
Perhaps I wait a bit longer, until I import mails (and work all the time with M3)Yes I do. I'm assuming from what @ltgorm wrote that the import is (currently) based on everything being in the default paths, so maybe if I create a mail "directory" in the user profile (which is actually a link to the correct location), Vivaldi will be able to find the files and start importing.
On the other hand, I don't know if programs "see" links as if they are real files in Windows.
I will give it a try tonight if I have time...
-
I believe that if you create a link it will work.
However, I'd make a copy somewhere for the purpose of the import using expected structure (this is what I did in my case). -
@mossman said in Importing from M2:
On the other hand, I don't know if programs "see" links as if they are real files in Windows.
Apparently not. I will now try it by modifying the existing directories to match the criteria:
- import folder contains contacts.adr and "mail" (so I rename the mail directory to "mail" and copy the contacts file to directory above it)
- "mail" contains "accounts.ini" and "store" (this is already true)
- select the directory above "mail" as the profile location
Edit: well it did something... but not much. The mail panel appeared and lists two of the accounts (I have much more than two). No messages. The antivirus was active for a few seconds. That's about it!
I'll try a couple more times since I saw other people saying it worked if you repeated it.
Edit: well that's very odd... I tried again four or five times and was literally about to give up when it suddenly started churning! 2.5 hours to go - but at least it's importing now. I noticed there was some garbage in the accounts settings which I now wish I'd cleared before it suddenly kicked into action... empty accounts and accounts with nonsense filled in... hope that's not a problem since I'll have to wait a couple of hours now before I can check!
Edit: the annoying thing is... the only account which doesn't seem to have been picked up properly is my current main account! So I expect I will have to delete everything and try again tomorrow. Joy! (Edit: scrap that, it automagically appeared a few minutes later)
-
@mossman Okay, it took 3 hours but it's finished.
Late now so I'm not going to do too much investigating but a couple of observations:
-
it didn't import my contacts
-
it puts sent mail into "Sent" folders, but received mail into "Imported Unknown Folder" instead of "Inbox" as you would expect.
-
the total data in Vivaldi is about 7GB versus 8GB in Opera - so that looks like mail is missing (the EML and MBS files for the messages are actually identical!(*)). I will have to investigate further some time. It might have removed duplicates (Hotmail seems to generate duplicates when I send from my phone; I remember I used to have to BCC myself to keep a copy when using webmail and my older phones back in the day as well), and I know the Opera database is flaky so there may be messages stored which are not in the database any more.
-
it split one of my accounts into two versions (one using all lower case in the address, the other with some capitals). This split goes right back to the beginning in 2000 - so not, as I first thought, when I changed from using POP to IMAP or when I might have changed settings for some reason. Again, I'll have to investigate.
-
it created two blank accounts, one called "0" and one with an odd version of my mail address ending in a localhost IP address - I think this might be back when I used a little bit of software to pick up webmail pages and convert them into POP (wow! I'd forgotten all about that until just now! memories...). I could delete them no problem.
It was quite fun to read some of my old mail from more than a decade ago - and also quite embarassing to read what a dick I was back then in some angry mails I sent out!
(*) I remember a recent discussion on here when people were saying how it might be hard to import mailbox files as they are a different format to EML... well so much for that! These imported messages are literally the same files - even all the Opera indexing tags are still there...
-
-
@mossman said in Importing from M2:
Apparently not.
On my system I've created junction (see below), selected profile folder "C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail" and import started.
mklink /j "C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail\mail" "j:\Data\Opera\Opera\mail\"
-
@fifonik said in Importing from M2:
@mossman said in Importing from M2:
Apparently not.
On my system I've created junction (see below), selected profile folder "C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail" and import started.
mklink /j "C:\Users\USER\AppData\Roaming\Opera Mail\Opera Mail\mail" "j:\Data\Opera\Opera\mail\"
Interesting tip - I hadn't heard of mklink before, seems it was introduced in Vista (which I never used). So yeah, that's the kind of symbolic link I was talking about in Linux - rather than the File Manager shortcut I tried.
I'll add this to my Opera profile directory for future import when M3 goes stable...
-
@mossman I was thinking about this - I suppose then I can import mail into stable, and when I'm happy everything has worked properly I can move it to the same drive the Opera mail data is stored and link to it from the Vivaldi profile directory...
Good to know!
-
@mossman said in Importing from M2:
@mossman I was thinking about this - I suppose then I can import mail into stable, and when I'm happy everything has worked properly I can move it to the same drive the Opera mail data is stored and link to it from the Vivaldi profile directory...
Good to know!
My snapshot was borked, so I just reinstalled and tried to import mail again using mlkink this time. Didn't work...
-
@mossman said in Importing from M2:
@mossman said in Importing from M2:
@mossman I was thinking about this - I suppose then I can import mail into stable, and when I'm happy everything has worked properly I can move it to the same drive the Opera mail data is stored and link to it from the Vivaldi profile directory...
Good to know!
My snapshot was borked, so I just reinstalled and tried to import mail again using
mlkinkmklink this time. Didn't work...Aaaaand today I tried it by re-naming the mail directory to "mail" and selecting the directory above (containing contacts.adr)... and that didn't work either. All the more frustrating that it did import after several attempts that one time... weird!
-
Vivaldi 3.8.2238.3 (Official Build) (64-bit)
Revision 6f89cf57a027cee5f161aa3686153f27e233f433
OS Windows 7 Service Pack 1 (Build 7601.24544)Import is working:
I have two paths:
C:\Users\User\AppData\Roaming\Opera\Opera x64 <- there was contacts.adr
C:\Users\User\AppData\Local\Opera\Opera x64 <- there was the restsimply copied contacts.adr to the folder C:\Users\User\AppData\Local\Opera\Opera x64 - after that Import started
-
@verdi Yes, it's very strange - for me it usually doesn't work but then suddenly it does.
As you bumped the thread I tried again (renaming the folder on my other drive to "mail") and today it started importing. I already had the contacts.adr file in the folder above that but it refused to do anything when I tried about ten times last week...
-
Thanks at first for this post, it really is what I was looking for. However in contrast, it didn't work for me to import my email and contacts properly from Opera Mail to Vivaldi Mail.
Despite I put the contacts.adr in the mail folder, and it started to import everything, I came accross the following two-three issues which is why I had to abort the import:
-
e.g. it mixed IMAP account folders from AIM Mail account (which AOL migrated to AOLMail putting their AIM Mails in a separated IMAP folder for each former registered mail account alias) and showed them in my POP3 POP3 web.de account
-
E,g, it couldn't detect the inbox folder of my GMX.de pop3 mail account and imported it as unknown imported folder"
-
it imported only 1 email address of my contacts.adr, i.e. the contact with the name "Håkan Sundell"
Looks like the 'å' made Vivalidi mail to ignore all other contacts in that file?
are those issues known or shall I import than to somewhere? I found no workaround or "fix" for either of those issues.
Thanks in advance!
-