Can't erase messages in POP3 folder

Hello,
For some reason, the following code doesn't erase (expunge) the messages in the folder. Has anyone else had this experience? Is there something I'm overlooking? Thanks,
Robert Douglass
Folder folder = store.getFolder("INBOX");
folder.open(Folder.READ_WRITE);
Message[] messages = folder.getMessages();
folder.close(true);
store.close();

messages.setFlag(Flags.Flag.DELETED,true);
found it myself!

Similar Messages

  • TB can't see messages in a folder -and/or attachments get lost

    I solved this awkwardly (but only for seeing the mail body- not for retrieving attachments)
    , but it may help others.
    i have messages in inbox with wdseml type.
    i have re-indexed after deleting global-messages sqlite, and they still can't be found.
    I also re-installed (31) and re-indexed today.
    Originally i noticed the problem when i was searching and when i clicked on a message to view it the content was missing even though the subject was found.
    Then i noticed that all messages from June 6 to Sept 15 had the problem for 1 inbox. All i can recall that might be relevant is that i may have compacted the db about then, or moved messages from one folder to another or both.
    Following on another tip, i tried to repair the file under tools. Then all of those messages (550) in the date range disappeared from the search facility as well.
    Ok, my solution.
    Deep in Appdata for your user id under Roaming..Thunderbird..Profiles..Mail you will find your Inbox or whatever it is that TB can't see.
    These in later releases have type *.wdseml;
    On the top right of your TB there is a pull down one of which is Tools and therein you find Import/Export
    (come to think of it, i think it is an add-in i found and installed some time back, sorry can't remember)
    The tool offers you the ability to import files of type *.eml, but not *.wdseml
    You have to copy those files to a new folder with a name like C:/recoverMail.
    Then open a cmd.exe as administrator and rename *.wdseml to *.eml
    then you can use the Import tool to get back visibility to your emails.
    good luck

    ok, I suggest you take an email message that contains attachments. Press Ctrl +U in thunderbird and you will see the message source. In a series os MIME documents in that text will be your attachments.
    People almost universally assume they are sending files as attachments. The reality is a sleight of hand. EMail at it's inception was a text medium, and at it's heart it still is. That PDF file your attaching has to be converted to text before it can be a part of an email. This is called mime encoding and luckily is covered by an internet standard so most stuff is universal between mail clients. The result is your 500Kb file is converted to mime and in the process grows about 30-40% So when you ask questions like where are attachments stored, the answer is "in the body of the message"
    The message view you get when you press Ctrl+U is not only the exact source of the message as transmitted over the internet it is an exact representation of the message if it was saved as an EML file.
    Thunderbirds mbox files are simply a load of EML files stacked one after the other with a blank line at the end and a from line to start them. When Thunderbird is closed you can open them in a text editor and again see your mail in it's raw text representation.
    So when you say the attachments were there, and then they were not, your saying that fundamentally the mime encoded text of a message has changed. Thunderbird does not go through some fancy editing process when you drag a message from one folder to another, it just copies a block of text to a new location, deletes it in the old location and pretends it moved something. If you said the message disappeared I would be all over it as a possible bug. Parts of it disappearing I simply don't understand as Thunderbird sees a message not some part of the message. Programs that go out of their way to see parts of a message even when stores as a mime encoded text file are anti virus programs, what programs are proud of the fact they insert themselves into every disk read and write. Again anti virus programs.
    The following is a standard text used for diagnosing Thunderbird issues. Many challenge the validity, but using both Thunderbird's and the operating systems safe modes are the only ways to get rid of the all pervasive security software that is so often the cause of issues.
    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Can't read messages in sent folder

    We can't read any messages in the sent folder. The window only shows the following message:
    +The message from Nicki Frech <[email protected]> concerning “test” has not been downloaded from the server. You need to take this account online in order to download it.+
    We cannot see what settings to change so that the sent messages are available on the computer. Many thanks for any help!

    Have a look in Mail > Preferences > Accounts, Special Mailboxes tab at Sent, and see what it reports for, +Erase copies of sent messages when:+
    If it is a short period like one day, or on quitting Mail, then they may be erased accordingly.
    You could set it to never to keep them permanently.
    regards roam
    Message was edited by: roam

  • Can´t erase mail messages and couldn´t find sent ones

    Hi there, I am new in this and with my ipad and have some problems using email company account; I can not erase messages and an advise says ´ïmpossible to transfer to trash´´
    In adition, when I want to see my sent messages I found old ones but neither the new ones I recently sent.
    Thanks in advance for your help.

    Try going into Settings > Mail, Contacts, Calendars. Then select the account on the right-hand side of that screen, select Account, then Advanced, Deleted Mailbox, and under On The Server tap the 'Trash' folder (or whatever it is called by your provider) so that it gets a tick against it - then come out of that series of popups by tapping on the relevant buttons at the top of them and then see if you can delete emails.
    Similarly you may have a different folder set for Sent emails

  • Can't read new messages in IN folder

    This is similar to Spirelli's problem "Can't read messages in sent folder" of 28 August except the problem is with newly downloaded mail. Any unread mail (even from days or weeks ago read as: +The message from "Fae Gleisner" <[email protected]> concerning “SUBJECT OF EMAIL” has not been downloaded from the server. You need to take this account online in order to download it.+
    This happens after MAIL (1.3.11) has been open for a while (sometimes for only a few minutes; somestimes for an hour. The only way to read the messages is to QUIT MAIL and then re-open it.
    This happened a few months ago and then mysteriously corrected.
    In Mail > Preferences > Accounts, Special Mailboxes tab at Sent, and see what it reports for, Erase copies of sent messages when: is set for NEVER.
    Thanks, Robert

    And again, if this is a POP account, you probably have the problem described in the following article:
    Overstuffed mailbox is unexpectedly empty
    If you’re just starting to experience the problem, doing what the article suggests might work. If you’ve let the problem to become worse over time, however, it may be too late to solve it as described in the article. Post back with your observations.

  • Can't activate voicemail to erase messages.

    I can't activate my voicemail. I know my mail box is full, but when I try to activate my voice mail it just says please wait signing in and doesn't do anything else? How can I erase messages from my voice mail?

        Hi A.M.2013! I understand the importance of accessing your voicemail box. If you do not have any access to voicemail, we would need to check the provisioning on our end. Please send me a private message with your name and mobile number so that we can better assist.
    Thank you,
    LenaA_VZW
    Follow us on Twitter @VZWSupport

  • Can I erase iWork '06?

    I just installed iWork '08 and I noticed iWork '06 is still in my applications folder. My question is... Can I erase the iWork '06 folder and everything in it without affecting iWork '08?
    Thanks for your help.
    Prof.

    Yes

  • Can we save messages in folders in nokia x2-01?

    i just want to know if there is folder options for messages to be saved in nokia x2-01 since im planning to buy one. thanks.
    Solved!
    Go to Solution.

    Yes we can save the messages in archive folder and also in draft folder in  set nokia x2-01.. cheers..

  • Can't erase deleted? message in 'on my mac' folder.

    can't erase deleted??? message in one of my 'on my mac' folders. Help!

    try rebuilding the mailbox.
    select your mailbox and choose "Rebuild" from the mailbox menu in the menu bar.

  • I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    Have you recharge the battery for at least 2 hours, or just leave it connected for 4 hours?
    (When you replaced the Hardisk, you should also replace the battery.)
    Some other iPod SSD sites, says that you may have to format the CF in FAT32, as Mac dont read NTFS drive so if Windows is the 1st PC that your CF is connected, it may be formatted to NTFS.
    You can try erasing the CF using Disk Utilty, so that Mac can recognise it. (but not Windows)
    Have a nice day!

  • Can I copy an iPad email message to a folder?

    In "Mail" on my home computer, I can copy messages to a local (on this MAC) folder, which leaves them intact in the Inbox on the IMAP server, so that I can "see them" in the inbox when I am at my office computer. The folders on my home and office computers are the type that are on the computer irself and not the IMAP server for security reasons, to have extra "back-up" copies if needed, and because I save different types of messages in the 2 locations. In iPad "Mail" it appears that the only option is to "move" a message to a folder. This moves it out of the inbox, so it will not appear in the inbox when I open "Mail" on my home or office computer. The iPad folders are ones that I created on the IMAP server using my home computer and then synced to my iPad, (which also as far as I could tell is the only way to create folders on iPad "Mail" until OS5 comes along). These folders would be visible to me at my office, but I would have to remember to look in the folder to copy the message to a "local folder", instead of just being able to copy it from my inbox. One workaround is to never store an email in an iPad folder until I have copied it on the other computers. But, since I often get to the email first on my iPad, especially while traveling, I would prefer to just copy messages to the IMAP folders if it is possible. Is there a "copy message to" option for iPad "Mail"?

    I do the same thing - leave the email in the inbox and mark it as unread. There is no "copy to" option in the iPad Mail App. As you stated, you can move the messages to other folders that you have in your account. There may be third party mail apps that let you do what you want to do but not in the Mail App.
    This is from a very quick Google search simply to let you know there are alternatives to the mail app.
    http://www.ilovefreesoftware.com/17/ipad-2/free-ipad-e-mail-apps.html

  • Messages Disappeared/Can't Move Messages to Folder

    I am the entire IT department for my company, and one of my users has run into a weird and very troubling problem. For quite some time (years), she has been moving messages from her IMAP account into a local folder. This folder contained hundreds of messages, perhaps even thousands. Several days ago, she attempted to drag a message into the folder, only to have the message jump back to the message list. Concerned, she clicked on the folder to find that it was completely empty. She let me know, and I immediately checked her Library and found that the corresponding folder under Mail is also empty. I can't find any trace of the missing mail anywhere - nothing in the Trash, nothing in Deleted Messages - it's just GONE. The user isn't an expert, but she's far from computer illiterate, and in talking to her I don't have any reason to believe that user error is to blame. Does anyone have any idea why this might have happened (and hopefully tips on how to retrieve the missing mail)? I've verified the hard drive and checked permissions (grabbing at straws) and both were fine.

    In fact my 'drag' ability seems to have disappeared altogether... just tried to drag a new option onto my toolbar and drag just doesn't work!

  • MS-Outlook 2003 can't see messages in folder restored with imsrestore

    Hello. We're using IMS 5.2 under HP/UX. When I restore messages into a new folder with the imsrestore -n command, MS-Outlook sees the folder but it appears empty. It also cannot rename or delete the folder. Outlook says to check the folder permissions. Eudora 5.1 can see the messages, and delete the folder.
    I'm using this command because I want to restore message into a new folder so users will be able to easily see what's been restored. I haven't found any reference to this problem from Microsoft or other IMS users. Any ideas?
    Here is the imsrestore command that I used:
    imsrestore -f {backup file for single user} -n
    Tape Version : 2
    Backup Date : Thu, 13 Apr 2006 11:28:29
    Incremental : Wed, 12 Apr 2006 01:00:00
    Message Store : mymail
    Block factor : 20
    /mymail/ALL/dpelinka restoring...
    /mymail/ALL/dpelinka/INBOX-> /mymail/ALL/dpelinka/INBOX.041306.152824 restoring...
    /mymail/ALL/dpelinka/INBOX/22455 restoring...
    /

    I looked at this problem again today. The command imsrestore -f ${RSTDIR}/${file} -n is successful and creates a new mailbox with a name like: Inbox.042706.162202. The folder and restored messages are visible with our Luminis portal web client, and with Eudora. Outlook 2003 can see the folder but not the messages. If I try to delete the folder with Outlook, it says "unable to delete folder...the server responded 'mailbox does not exist'". This leads me to think there could be some kind of permission problem.
    Looking at the mailbox on the server I see this:
    drwx------ 2 lumadmin staff 1024 Apr 14 21:43 =+Archive
    drwx------ 2 lumadmin staff 1024 Apr 14 23:10 =+Deleted
    drwx------ 2 lumadmin staff 96 Feb 17 19:58 =+Drafts
    drwx------ 3 lumadmin staff 96 Apr 27 16:38 =+I+N+B+O+X%d042706%d162202
    drwx------ 2 lumadmin staff 96 Apr 14 21:43 =+Junk +E-mail
    drwx------ 2 lumadmin staff 1024 Apr 14 21:43 =+Personal
    drwx------ 3 lumadmin staff 1024 Apr 17 07:29 =+Sent
    drwx------ 2 lumadmin staff 96 Dec 9 2004 =+Trash
    -rw------- 1 lumadmin staff 7080008 Apr 27 16:31 store.idx
    -rw------- 1 lumadmin staff 201 Apr 27 16:38 store.sub
    -rw------- 1 lumadmin staff 59 Apr 27 16:38 store.usr
    Inside the restored folder I see this:
    drwx------ 2 lumadmin staff 1024 Apr 27 16:22 00
    -rw------- 1 lumadmin staff 24116 Apr 27 16:25 store.idx
    -rw------- 1 lumadmin staff 36 Apr 27 16:38 store.usr
    The permssions on the files in the restored folder look the same as the other folders. I tried reconstruct -f user/dpelinka/INBOX, but it made no difference. This could be a problem with the IMAP implementation in Outlook. Can you think of any other things I should check? Thanks.

  • Can't see message contents in "sent" mail folder

    I had to rebuild my Apple Mail system two weeks ago. Now, if I need to look at a "sent" message from a point further back than two weeks ago, I can see the message entry, the subject, the addressee, but not the actual content of the message. I followed some advice elsewhere in this forum, but I think it made matters worse-I found two "sent" folders, under two different incoming mail identities, both mine, in my home Library Mail folder; I combined them, by physically dragging the contents from one to the other. Didn't work. Now I can't access any sent mail-I get the front details, but no contents. So now, if I have to, I can visit my Home folder Library to dig up old sent mail(it's all there), but I can't see anything from the Mail application. Any advice?

    No, my question still hasn't been answered, but I can add information. As it is now, if I open my "sent" mail folder, I can see a list of emails, with subjects, date sent, etc., but if I click on one of them, if the email is older than a certain date I won't see a message. The lower, message, window is blank.
    The new information is this: when I posted my original question, above, on Nov. 9, the blank-message problem wasn't an issue for messages sent in the preceding week; only for messages sent before that. Now, on Nov. 13, I can read messages back to Nov. 9, but not before that. The problem is advancing a day at a time. I can only read messages sent within the last four or five days; not before.

  • How can I receive messages that I erased?

    How can I receive messages that I have erased?

    You can text with anybody using your Android phone no matter what type of phone the other person is using. The phones will be using standard SMS text messaging. You cannot use your iPad to text with Android devices, Messages on the iPad only works with other Apple iOS devices.
    If your friends are trying to message you from their iPhones to your iPad, they have to send the text to your Apple ID email address and you have to set up messages to use your Apple ID instead of the iPhone number. Your Apple ID should already be accessible in the settings since you have to set up Messages with your Apple ID in the first place.
    Settings>Messages>Send and Receive at>You can be reached by iMessages at>Your Apple ID email address. Select the Apple ID in there.

Maybe you are looking for

  • Problem installing weblogic jdriver for oracle

    Hi , I have installed WLS510 and Oracle8i Personal Edition on windows98. I have put the c:\weblogic\bin\oci815_8 directory in the system path and c:\oracle\ora81\jdbc\lib\classes102.zip in the CLASSPATH Now when I try to test the connection using the

  • I can't connect my WRT310N by MacBook

    Hello, I can't use my MacBook to connect my WRT310N. When I connect the router, it's show IP is 169.254.X.X. Where can I setup to connect my router for restore use. And also please recommend how to restore the default setting. Thank you very much. Wa

  • Not able to connect database while creating RPD

    hi, while creating New RPD i am not able to connect database its Throwing error like"The Connection has failed". even though i had given Data source name as TNS entry. Thanks, Lokesh

  • Lightroom isn't available in the cc downloads.

    I've tried to access it directly from the site and it takes my back to the CC app but it's not listed.  I've tried the all apps filter as well as every other one.  Where can I can go to get it back?  I just switched to a new workstation and it's gone

  • Shockwave is installed, but wont work on Chrome

    I installed shockwave (latest version) for Chrome (latest stable build 64-bit) on my imac (10.9.5 Maverick) and it wont work I reinstalled, troubleshooted,checked plugins, but it wouldn't work, though it worked perfectly on Safari I will not change m