[Opera Mail] A Beginner Inquiry

  • Hello,

    I am new to Opera Mail. I have been able to get around the client pretty well, however, there is one thing I haven't been able to wrap my mind is how messages are stored and deleted as I use secure POP3.

    As a result, I wish to ask how I may remove or delete permanently an e-mail from my hosted or ISP account while keeping it stored locally.

    For example, I would like to delete an e-mail from my Outlook.com inbox in Opera Mail so it gets deleted on Outlook.com's servers while still keeping it stored locally in Opera.

    However, even if the e-mail is labeled, if I delete the message from my Outlook.com inbox in Opera Mail, it also gets deleted from the labels storage.

    As such, any advice or help would be appreciated. Thank you in advance.

  • However, even if the e-mail is labeled, if I delete the message from my Outlook.com inbox in Opera Mail, it also gets deleted from the labels storage.

    It's because you have only one copy of the message and different ways to view it. So if you delete the message, it will be gone from all views.

  • It's because you have only one copy of the message and different ways to view it. So if you delete the message, it will be gone from all views.

    Hello leocg,

    I get it and see why. What would you suggest me to do in that case? Your input would be appreciated.

  • Hello there,

    I wish to ask if anybody would be kind enough to help. Many thanks.

  • I'm pretty sure it's not possible, though it's not something I would find useful, so have never tried or investigated to see if it is possible. But I have never happened upon the ability/option in all the years I have used Opera Mail (M2).

  • If you want to delete the messages on the server, i guess you will need to do it manually.

    You can set the mail client to delete all messages that have been downloaded.

  • @axlkyangel:
    You have to configure outlook.com so that it can delete messages that you have received via pop, normally they are only moved to a different folder.
    And you also have to disable the "Leave Messages on server" setting in Opera Mail.

  • But he want to delete them from the server and keep the copy in Opera Mail. If I am actually reading his post correctly.

  • Well, in my scenario above all from opera mail received messages are deleted from the server but stored locally.
    I thought this was his wish.
    If he only wants to delete individual, already received messages from the server then it can only be done manullay with outlook.com.

  • Hello guys,

    I believe that my confusion comes from the fact that I probably haven't grasped how Opera Mail works. As such, your patience is appreciated.

    I used Windows Live Mail where e-mails that are deleted gets moved to the trash which you can then empty resulting in the e-mails being permanently deleted locally as well as on the server. It also has a "Storage" folder where e-mails are saved locally and permanently so even if the associated e-mail account is removed, the e-mails are still stored on the computer.

    I may be wrong but Opera Mail does not appear to work the same way. If I label an e-mail to sort it then delete the e-mail from the e-mail account inbox, it gets deleted both in the inbox and in the label category. I tried to copy the e-mails from the inbox to the label category but it didn't work. The e-mails are deleted from both areas as well.

    Please note that I am experiencing the above not only for Outlook.com but also for e-mail accounts on my own domain. As a result, your enlightenment would be deeply appreciated.

  • But he want to delete them from the server and keep the copy in Opera Mail. If I am actually reading his post correctly.

    You are correct. But as I replied in my previous post, if I delete a e-mail in my inbox in Opera Mail, it is also deleted from the label category I sorted it into. Even copying the e-mail from the inbox to the label category doesn't work.

  • I used Windows Live Mail where e-mails that are deleted gets moved to the trash which you can then empty resulting in the e-mails being permanently deleted locally as well as on the server.

    So far it's basically the same as in Opera if you have the correct settings.

    It also has a "Storage" folder where e-mails are saved locally and permanently so even if the associated e-mail account is removed, the e-mails are still stored on the computer.

    Opera Mail doesn't have it. The only way to to something similar would be to export the message(s), delete the original(s) nd them import it/them. Or, as said, by manually deleting them on the server.

  • On the "Incoming" tab in the account's properties, you keep "leave messages on server" + "until I permanently delete them" set.

    Then, if you want to delete a message from the server but keep it locally:

    • Ctrl + s on the message to save it as an mbs file.

    • Using "Menu -> settings -> import and export -> import mail -> import generic mbox" and input the mbox file. The first time you import a message, you'll choose to import into a new account (where you'll change the name of that account in its properties to "Storage" if you want). After that, you import into the "Storage" account.

    • Then, you can move the original message to the trash and permanently delete it so the original message is gone from the server and gone and Opera. The copy of the message in the storage account will remain.

    If you need to do this for a bunch of messages, you can create a label named "To export". Then, label the messages yo uwant as "To export". Then, you can right-click on the label in the mail panel, choose export to export all the messages to a single mbx file and import that mbs file into the storage account. Then, you can ctrl + a in the "To sort" label and then hit shift + del to wipe out the originals.

    In the All Messages views for example, message from both the original account and the storege account will show together. You can change this though by right-clicking in the mail panel, going to "show messages from" and just selecting your original account. This setting gets reset on startup though. There's also a button for this. Right-click on a mail toolbar, goto "customize", then "appearance", then "buttons", then "mail". You'll see a "All Accounts" drop-down button that you can add to the mail panel toolbar where you can select accounts that way and see what account you're using.

    Also note that when you reply to a message from the storage account, you'll need to change the "From" drop-down in the compose tab to your original account so the original account can send it. There's a wrench icon on the compose tab that allows you to set the default outgoing account though.

    I am new to Opera Mail

    See http://operawiki.info/HowM2ViewsWork and http://shadow2531.com/opera/wiki/How M2 Views Work - Mail Client ( M2 ) - Opera Wiki.mhtml (load the latter locally) to get a better understanding of how Opera's views work.

  • Hello burnout426,

    Awesome reply. Thanks for the tip. Your wiki is very helpful. Thank you for sharing it. thumbs up

  • Hello guys,

    I am beginning to get the hang out of Opera Mail. However, I have a few questions regarding backing up. I understand that in order to back up all e-mails, I need to right-click "Received" and "Sent" views separately under All Messages to export each or both of them. For contacts, I understand that export is in Settings menu.

    However, I did not find a way to export e-mail accounts and labels. As such, I wish to ask how I can back up e-mail accounts and labels. I also wish to ask if, when importing "Received" and "Sent" e-mails, the e-mails are still labeled and threaded. Thank you in advance.

  • I am beginning to get the hang out of Opera Mail. However, I have a few questions regarding backing up. I understand that in order to back up all e-mails, I need to right-click "Received" and "Sent" views separately under All Messages to export each or both of them.

    In the "store" folder in the "mail" folder, all your messages are stored there. There's a "Drafts" folder for drafts for all accounts and there's an accountN folder (where N is the number for the account as seen in accounts.ini) that stores the rest of the messages for an account (including sent). Each message in the account is stored as a single mbox file (with an mbs extension). They're grouped in the accountN folder as year/month/day/number.mbs.

    So, all your messages are already in a format for backing up. So, no need to export them. If you want to just back up the messages, back up the accountN folder for the account.

    Note though that if you have low-bandwidth mode turned, the files won't be complete unless you right-clicked on each messag and choose "fetch complete message".

    Same thing with IMAP. Same thing with IMAP if you just have "do not download attachments" set. Same thing with IMAP if you have the default of "make messages available offline when I click them" and you haven't opened all of your messages. So, for IMAP, you want to make sure you have "make all messages available offline" set on the "incoming" tab in the accounts properties so that all messages are fetched in full. Then, you can close down Opera and back up the files.

    However:

    • Settings for an account are in accounts.ini.

    • Opera keeps track of each message by id in the database omailbase.dat.

    • index.ini defines the views in the mail panel and their settings.

    • The indexer folder files keep track of message threading and what messages should be shown in each view.

    • The lexicon folder contains search indexes for messages so that searching is faster.

    • The feeds folder contains your feed subscriptions.

    • The POP3 folder has id files for each account that keep track of fetched messages. The IMAP folder does the same for IMAP accounts.

    • The incomingN.txt files (where N is the number for the account in accounts.ini) has settings for each IMAP/News account.

    • contacts.adr (in the preferences folder) stores your contacts. The IDs in the file are specific to the mail folder they're used with.

    • wand.dat stores your mail passwords.

    • opcert6.dat stores your approved self-signed certs and your master password if you have one.

    • operaprefs.ini contains all the global mail settings.

    Given that, when you back up Opera mail, you need to back up the whole mail folder, wand.dat, contacts,adr and operaprefs.ini. But, if you're going to back up all that, you might as well just back up both the roaming and local opera profile folders. On Windows that's "C:\Users\user\AppData\Roaming\Opera Mail\foo" and "C:\Users\user\AppData\Local\Opera Mail\foo" where "foo" is the name of the folder in "C:\Program Files (x86)" that Opera Mail is installed to.

    Now, the only reason you'd want to right-click on each view in the mail panel and export is if you want all messages in that view to be grouped into a single mbs file to ease importing into a corresponding folder in another client. If you're just backing up Opera Mail to restore it for use with Opera mail, you don't need to do that. Also, exporting each view (especially labels) can be complicated if the message is available in more than one view as you'll get duplicate messages. Clicking the "Settings for this view" icon above the message list and adjusting the "show" messages for the view you're exporting can help with that. But, it's still a problem with labels.

    Other notes:

    If you use IMAP, you can sync labels in some cases.

    Also see:

    http://shadow2531.com/opera/wiki/How to Backup and Restore All of Opera's settings - Browser - Opera Wiki.mhtml

    and

    http://shadow2531.com/opera/wiki/How to Backup and Restore Mail - Mail Client ( M2 ) - Opera Wiki.mhtml

    Also, for contacts.adr, if you plan on importing the contacts into another mail folder, it's best to export the contacts from the user interface. Only use the contacts.adr in the roaming profile folder for backing up for the purpose of restoring with the mail folder it was created with.

    Also note that you can't import into IMAP accounts in Opera. You have to set up the IMAP account so that it fetches whatever message are on the server. Then, for messages that aren't on the server, you import them into a new account (will be a pop account without the connection settings set). From there you can drag them to the IMAP "Inbox" folder to upload them to the server.

  • I also wish to ask if, when importing "Received" and "Sent" e-mails, the e-mails are still labeled and threaded.

    When you import messages, they'll be imported as received. However, the mbs file you're importing can be set in the "move to sent" drop-down to import them as sent.

    In either case, messages should still be threaded properly if all the messages in the thread are imported and they have the proper headers etc.

    Now, for labels, from my previous comment, you'll see that labels are not stored with the messages. So, you lose the label association when you export a message and import it.

  • Hello burnout426,

    Suppose I am to back up Opera Mail for a complete OS reinstallation, what do I need to do to save everything (POP3 e-mail accounts & messages, contacts, labels, etc)? The following information is from my current installation taken from the "About" page.

    System: Windows 7
    Preferences: \AppData\Roaming\Opera Mail\Opera Mail\operaprefs.ini
    Saved session: \AppData\Roaming\Opera Mail\Opera Mail\sessions\autopera.win
    Opera directory: \AppData\Roaming\Opera Mail\Opera Mail
    Mail directory: \AppData\Local\Opera Mail\Opera Mail\mail

    1. Are these the correct folders and files to save?

    \AppData\Local\Opera Mail\Opera Mail\mail
    \AppData\Roaming\Opera Mail\Opera Mail\contacts.adr
    \AppData\Roaming\Opera Mail\Opera Mail\operaprefs.ini
    \AppData\Roaming\Opera Mail\Opera Mail\opcert6.dat
    \AppData\Roaming\Opera Mail\Opera Mail\wand.dat

    1. Can I simply save "\AppData\Local\Opera Mail\Opera Mail" and "\AppData\Roaming\Opera Mail\Opera Mail" and then copy them over to new installation of Opera Mail?

    (I think that there is a bug when I reinstalled Opera Mail a second time hence why there are two Opera Mail folders in the paths.)

    I deeply appreciate your patience and assistance. Thank you very much.

  • Oops. Looks the forum killed my post mark ups. My apologies for the problem. :-(

  • Can I simply save "\AppData\Local\Opera Mail\Opera Mail" and "\AppData\Roaming\Opera Mail\Opera Mail" and then copy them over to new installation of Opera Mail?

    Yep. You back those up, reinstall the OS for example, put those folders back where they were, first, and then install Opera Mail (using the installer so it sets up the registry keys etc.) to the same spot it was before. That's it.

    Before you run Opera Mail, just check operaprefs.ini in the roaming profile folder to make sure there are no lines with paths in them so that when Opera Mail starts up, it uses the default. Paths that are still correct for the new instance of the OS can remain if you want, but it's just easier to remove them.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.