Sent folder not imported properly from M2
-
As much as I like the new Vivaldi mail client, I still can't switch over to it from M2 because I am still unable to properly import all my mail (since 1997 ) from M2.
I have several accounts, some of them contain mail from different mail addresses (over the years I changed mail aliases for the same accounts). It seems that the import routine only puts mails from one specific "from" address into the sent folder. All other sent mail ends up in the inbox view.
It really would be nice if the import would just mirror whatever is present in M2 - I expect all mail that is in the sent view in M2 to end up in the sent view in Vivaldi Mail.
I would very much appreciate a fix for this.. this is the single remaining issue that keeps me from finally saying goodbye to Opera 12 and going 100% with Vivaldi.
In any way.. thanks for all your efforts, Vivaldi is one hell of a product!
-
I would very much appreciate someone from Vivaldi commenting on this. And, of course, even more if this can be fixed.
-
Hi, Thanks for the kind words
Can you do me a favor and look at the raw headers for the messages that are in Sent folder on Opera but turn up in Inbox folder on m3? There should be an opera-specific header called X-Opera-Location. An example from a message that I have imported and appears in m3's Sent folder is "X-Opera-Location: Sent:20".
You can use m3 to see these headers by right-clicking on the message header view and select "Show Raw Message". -
Hi @ltgorm,
thanks for your response!Here I have 3 examples:
This header is from a message sent via M2, imported into M3 where it is not in the sent folder but in the inbox folder (as are all msgs from that sender address):
From [email protected] Fri Sep 04 05:52:20 2009 27721 X-Opera-Status: 050000000000006c494aa0ab1400000238084000b1000001b40000000000000003000000000000000000000000000000000000000000000000 To: "[email protected]" <[email protected]> Subject: --- From: "---" <[email protected]> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: Tue, 20 Feb 2007 10:51:43 +0100 Message-ID: <[email protected]> User-Agent: Opera Mail/9.10 (Win32)
This one is from the same account but a newer address (the from address that is currently set in this account), sent via M2 and imported into M3's sent folder (as are all msgs with this sender address):
From [email protected] Tue Jun 01 19:37:05 2010 29677 X-Opera-Status: 0500000000000073ed4c0561610000059d000000310000059d0000000000000003000000000000000000000000000000000000000000000000 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: --- Date: Tue, 01 Jun 2010 21:42:15 +0200 Subject: --- MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "---" <[email protected]> Message-ID: <---> User-Agent: Opera Mail/10.53 (Win32)
The following header is from a message not send via M2 but imported into M2. This is a combined "account" imported from different old accounts, this account has no defined "from" address and none of these messages present in M2's sent folder are put into M3's sent folder.
From [email protected] Fri Sep 04 09:19:27 2009 5871 X-Opera-Status: 0500000000000016ef4aa0db9f00000352084000b1000003520000000000000001000000000000000000000000000000000000000000000000 X-Mozilla-Status: 0001 Message-ID: <[email protected]> Date: Sat, 01 Nov 1997 12:57:54 +0100 From: --- <[email protected]> X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Mozilla 3.01Gold [de] (Win95; I) MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: [email protected] Subject: Internet Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit
So based on this it seems that only mails that contain the same "from" address as the configuration of the account are actually put into the sent folder.
I did not see the "X-Opera-Location" header in any of my messages.The solution, as far as I can see it, would be to just check, if possible, if a mail was in M2's sent folder - instead of matching the from address to the account's current configuration.
I hope this is possible.
Thanks! -
hmmm, ok - I also hope that this is possible but I have to dig deeper into m2, I guess, and try to find out what m2 bases its logic on when placing this in the Sent folder. As you are observing we are basing this on the from-field but also on the x-opera-location header. Maybe I am missing a 3rd clue somwhere.
-
Hi @ltgorm,
great, thanks so much for your efforts! Please let me know if I can provide any additional input. -
I found the 3rd place that we can base our folder-placing logic on. There is a bit in the X-Opera-Status that stands for is-sent. As befre the X-Opera-Location wil take highest precedence, 2nd comes new logic based on this bit, and then as a last resort we look at the from field. How does that sound? A build with that approach is in the pipes and has version number 4.4.2447.16
-
@ltgorm great, thank you! I will test this as soon as it hits a snapshot release.
In case it does not work 100%, is there any reason to prohibit the ability to manually move messages to the sent folder? If yes it could still be a hidden option. -
Hi @ltgorm ,
I installed 4.4.2457.3 today and I can't get it to import anything - I point it to the profile folder where contacts.adr resides with a subdirectory "mail" that contains accounts.ini and the "store" subfolder.
To be sure I re-installed 4.3.2439.19 where the import, from the same directory, works fine. Are there any logs that could help? I just found debug.log in the Application directory but the entries present there are also written with the successful import.Thanks for your help!
-
@jaws said in Sent folder not imported properly from M2:
Hi @ltgorm ,
I installed 4.4.2457.3 today and I can't get it to import anything - I point it to the profile folder where contacts.adr resides with a subdirectory "mail" that contains accounts.ini and the "store" subfolder.
To be sure I re-installed 4.3.2439.19 where the import, from the same directory, works fine. Are there any logs that could help? I just found debug.log in the Application directory but the entries present there are also written with the successful import.Thanks for your help!
I have the same issue. I tried to import using the latest snapshot, and it just says check status bar. The status bar shows no details and no accounts or mail are imported. Previous snapshot would import.
-
-
@gmg said in Sent folder not imported properly from M2:
@Jaws @ugly
Weird. We see it too. That one slipped in, @ltgorm is taking a look.
Has either one of you made a bug for this?Nope, I haven't done that before - how and where can I file a bug report? Thanks!
-
You can report a bug here
https://vivaldi.com/bugreport/ -
@gmg
Thanks (sorry, was on the run and did not have time to find it, otherwise I would have ).
Just submitted VB-83857.
Thanks for your great work! -
@ltgorm
I have just installed snapshot 4.4.2465.3, import from M2 now works again.
And regarding the import of "sent" mails - it seems you've nailed it! As far as I have checked every mail from M2's sent folder has now properly been put into M3's sent folder. Hooray!Thanks very much for the quick fix and your great support. Can't wait for this to find it's way into the next stable release so I can finally put Opera 12 to rest.
-
Overall, the import is improved.
But I am still getting a lot of inconsistencies between what is imported and what is shown in M2. Usually it is a small amount. One account I have 740 in an inbox in M2 and the imported inbox for that account has 733. For a POP account, I have one extra email that imported compared to what is reported by M2.
It's usually about less than a 10 email difference. I'm not sure how I can find which emails were not imported.
I do still have some 'Sent' emails missing. In one example, I sent a 'test' email to myself from one account to another. The recipient account has the email imported to the inbox, but the sending account does not have email imported in the sent folder, even though M2 has both.
I noticed a couple of sent emails that were not imported from M2 were emails that I had previously sent as a test using the Vivaldi email client (I know because it has the default signature). Note that I am testing this import using a clean portable version of the 4.4.2465.3 snapshot (I sent the test email from my installed version of Vivaldi using the email client a few months ago).
Then I have another email account that has 615 emails in the Sent folder of M2 and somehow there are 769 emails imported.
-
After looking closer at the import, I think it ended up more accurate than I originally thought.
For some reason my M2 has a number of blank entries in some folders. The blank entries are just an empty white space in my emails. When I hover over the folder, M2 includes these blanks are counted in the total, but the blanks are not imported into Vivaldi. This is why I was having small discrepencies (<10 difference) that I mentioned above after importing. After clearing out the blanks, the number of emails in M2 and the number of emails that get imported are mostly aligned.
So, 5 out of 6 accounts import accurately. 1 email account has some pretty big differences in both the Sent folder and other folders. I'll have to look into that one some more.
-
@ugly said in Sent folder not imported properly from M2:
I do still have some 'Sent' emails missing. In one example, I sent a 'test' email to myself from one account to another. The recipient account has the email imported to the inbox, but the sending account does not have email imported in the sent folder, even though M2 has both.
Mails sent to self exhibit all sorts of strange behaviors which the team is working on (Bug VB-79700). I was asked to report effects that I noticed with mails sent to self individually by effect, with steps to reproduce. So if such mails imported from M2 are showing similar issues like missing in one or the other view, you should report that.
-