Can't delete emails...

I occasionally have had a problem with my downloaded emails (to mail), where I cannot delete the email. After removing it from the server, and doing edit > cut in mail, it normally works, unclogs the system and my email behaves as normal.
Today, I have a variation on this problem. Edit > cut does not work - instead I get a message saying "copying messages from server" when they have been removed from the server. This I know because I removed ALL my messages from my server to be on the safe side. Yet I apparently can receive and send email, I just cannot get rid of these two emails. They're there in my junk folder and inbox everytime I go into mail. Any idea what to do? Or should I just live with them?

It looks like manually getting rid of the offending *.emlx files and re-creating the index will be necessary here. Assuming this is a POP account, proceed as follows:
1. Select the offending messages in Mail.
2. Copy the following script, open /Applications/AppleScript/Script Editor, paste the script there, and click Run:
set theFileList to {}
tell application "Mail"
set theSelection to the selection
repeat with aMessage in theSelection
set aFileName to (id of aMessage as string) & ".emlx"
copy aFileName to the end of theFileList
end repeat
end tell
get theFileList
A list of the *.emlx files associated with the offending messages should appear in the script’s Result pane (and in Script Editor’s Window > Result History).
If the troublesome messages appear in more than one mailbox, repeat the steps above for each mailbox and take note of the results.
3. Quit Mail.
4. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is stored.
5. In the Finder, go to the ~/Library/Mail/POP-username@mailserver/ account folder.
6. Move Deleted Messages.mbox to the Trash if there is nothing to be preserved there.
7. For each mailbox affected by the problem, locate the offending *.emlx files within its Messages folder and move them out of there, e.g. to the Desktop. You can open the *.emlx files with a text editor to view their contents and check that they do indeed correspond to the offending messages before getting rid of them.
8. Go back to ~/Library/Mail/, locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
9. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it's “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
Note: For those not familiarized with the ~/ notation, it refers to the user's home folder, i.e. ~/Library is the Library folder within the user's home folder.

Similar Messages

  • HT1277 can I delete emails from my IPhone and the server as well?

    Can I delete emails from both my IPhone 5 and the server as well?

    It's very easy to do - open up the music app, find the song/artist/album you want to delete and then swipe on it right to left and press 'delete'. Once you have done this it will take up no more space on your device whether it's in the cloud or not.
    If the song is still appearing in the music app with a little cloud next to it then you can stop it from showing by going into settings, music, and turning off 'show all music'. Note that this will remove ALL songs from the music app that have the cloud next to it (the cloud means they are in the cloud, online, but not stored on the device) and if you want to play them you will have to open itunes and redownload it, or change this setting back to on.
    Let me know if you need any more help!

  • I would like to know how can I delete emails from my email block have more than 8000? Thank you.

    I would like to know how can I delete emails from my email block have more than 8000? Thank you.

    I want to say, delete the 8000 not one by one, or 50 in 50... Minimum of 200 by
    200

  • Can't delete email with a 9 mb attachment from iphone

    can't delete email with a 9 mb attachment from iphone(3gs, software v 4.3.1) -- every time i try to delete the email with a swipe it shows the red delete button on the right but then freezes for a while and then the delete button disappears but the email does not. when i go through edit function and mark it for deletion, the same thing occurs.
    any advice??

    No. The modem is an Arris obtained from Comcast on 6/9/2014 after the prior one failed.

  • Can't delete email since updating to 10.5.3

    Since I updated my OSX to 10.5.3 three days ago, I can't delete email messages in Mail. I get the following error message "The destination mailbox “(null)” does not allow messages to be moved to it."
    I've rebuilt mailboxes, deleted trash mailboxes, rebooted,etc,etc, to no avail. Anyone else experiencing this? Does this have something to do with the update?

    Richard,
    With this last report, along with the first, it would appear that Mail may have taken the account Offline during the time .mac was down, and it is still Offline. This is not the same as being connected to the internet, but related to the account only. Is there any symbol beside the mailboxes associated with this .mac account?
    If you have more than one account, click on Mailbox in the menubar and place the cursor on Online Status -- for the .mac account is Take "the account name" Online presented, or only Offline? If you have only the one account, the the first entry in the pull down with either say Take Account Online or Offline.
    Although with a .mac account (setup as account type .mac/IMAP) the Inbox and messages reside on the server, the index in Mail has the list of messages -- just not the content.
    Btw, you say the last Update -- if your OSX is 10.5.3, then please change your settings in the discussions Profile.
    Ernie

  • I can not delete emails that appear in the search of my iPhone 4S. They are not in any of the mail folders or on the server. How can I do it?

    I can not delete emails that appear in the search of my iPhone 4S. They are not in any of the mail folders or on the server. How can I do it?

    If you have the serial number of the phone, put it in here
    To find the serial number without switching it on, read this article:
    Find the serial number and other information for your iPhone, iPad, and iPod touch - Apple Support

  • After settings update can,t delete email without opening it

    After settings update can,t delete email without opening it

    In your mail list, do you see the word 'edit'? If you choose that then you can select whatever mails you want gone and delete them at once.

  • I can not delete email.my ipad says i can not moove the marked mails in the garbitch

    I can not delete email.my ipad says i can not moove the marked mails in the garbitch?

    Having the same issue...just started today...anybody have any ideas about what the problem is?

  • Can't delete emails from "read only" Mail account

    I am trying to delete emails to clear hard drive space.
    On one of my computer's accounts (ONLY one), the mailboxes have the heading "read only", and I can't delete emails. I don't remember selecting this setting, and I can't find it anywhere.
    Can someone please point me in the right direction--how do I turn off the "read only" status of the InBox? And--is that why I can't delete emails??
    Thank you!

    I've had trouble with JavaMail starting on July 21st. I've used the same code for months, but all of a sudden, I can't delete messages from Gmail using the DELETED flag. I open the folder as READ_WRITE, grab the messages from the folder, set the DELETED flag, double check to make sure the DELETED flag was set, then close the folder (setting EXPUNGE to TRUE). Nothing happens. No exception is thrown or message is given, and no messages get deleted from the inbox (they just remain sitting there). I've tried calling the EXPUNGE method manually after setting the DELETED flag, but then it complained that the underlying implementation could not execute the method because the message was READ ONLY!!! I'm out of ideas. I've posted on Google's forums, but every other .NET and command terminal commands seem to still be working. I'm wondering if Gmail altered their configuration to become more compliant with the IMAP protocol, and JavaMail (or its underlying implementation) is still not 100% compliant?
    Thanks for your consideration.
    Joshua

  • Can not delete emails and tool bar at top does not change over

    Can not delete emails and tool bar at top does not  change over from safari. HELP

    If you hold the command key down (the one with the ⌘ on it) and hit the + key you can make the fonts larger. Might help out, I know as I've gotten up there in years I've had to use it more and more
    In the mean time while twtwtw mulls this over, can you supply any further information? Did the system crash or didi anything change before you started having the problem? Are you really running 10.5.8 as your profile says?
    We'll start with those for now,
    regards
    Message was edited by: Frank Caggiano BTW ⌘- - (command minus) will make the fonts smaller

  • Can not delete emails

    can not delete emails, namely the emails can not be moved into 'Papierkorb'

    I suspect the answer lies with whoever maintains hotmail.
    Barry

  • Can not delete email

    Since upgrading to 2.2 I can not delete email. When I try to delete, I get a message that says "Unable to Move Message The message could not be moved to the mailbox Trash." I see that other people had the same problem as referenced here: http://discussions.apple.com/thread.jspa?messageID=8512901&#8512901 but their problem went away, and mine remains. Have restarted the phone to no avail. Any advise? Thanks.

    Do you go to your settings under Mail, Contacts, Calendars and select your mail account and then go to Advanced settings and make sure Deleted Mailbox says On My iPhone and then the TRASH folder is seleted? Maybe try also unchecking the TRASH folder and rechecking it.
    Sometimes if you have another e-mail account besides the ones that your having trouble with, try deleted mail from it and then go back to the trouble account and try again.
    Diana

  • Can't delete email messages

    I can't delete email messages on my gmail account on my 9300F/R from before a certain date. I have tried everything, including calling technical support from my provider and from RIM, and each one keeps referring me back to the other. All I want to do is delete these messages. Please help. Thank you.

    Hello jaimo7,
    The article linked below provides steps that can help resolve this issue.
    "Unable to move message to folder "Trash" because the folder does not exist"
    Unable to delete email messages
    http://support.apple.com/kb/TS2475
    Cheers,
    Allen

  • Can't Delete Email from .Mac

    Hi,
    I'm having an issue where I can't delete email from my .Mac account using the web interface or the Mail client. I receive the following error message when I try to delete messages:
    "Mail was unable to remove the deleted message in the mailbox ".Mac" on server "mail.mac.com". The server error encountered was: The connection to the server "mail.mac.com" on port 143 time out."
    This problem just surfaced today and I can't find any information on the .Mac website. Thanks for any help.
    Cheers,
    Ignats

    I was hoping that it would be a temporary issue but it is still continuing 24 hours later. I'm fairly certain that it is not an issue with the Mail client because I can delete email from my other accounts; still can't delete email from my .Mac account. I continue to receive the error message in my original post.
    Is anyone else experiencing this problem?
    Thanks m.bode for responding to my question.
    Message was edited by: nolabrew

  • Can I delete email from all mail forever?

    Can I delete email from "all mail" forever?

    Hi there!
    Do the following
    message.setFlag(Flags.Flag.DELETED,true);
    folder.close(true);
    store.close();
    these 3 statements will delete email from the mail server.
    get back to me after u try this.
    ciao
    vivek

  • Can't delete email from appointment calendar from blackberry 8310?

    I currently have a blackberry 8310 with at&t. I deleted an email that i don't use anymore, but it's still showing up in my appointment calendar, how do i get rid of this?

    I was hoping that it would be a temporary issue but it is still continuing 24 hours later. I'm fairly certain that it is not an issue with the Mail client because I can delete email from my other accounts; still can't delete email from my .Mac account. I continue to receive the error message in my original post.
    Is anyone else experiencing this problem?
    Thanks m.bode for responding to my question.
    Message was edited by: nolabrew

Maybe you are looking for

  • To use a Sap Exit variable in a diferent infoobject of the same type

    Hi gurus,   I have the Sap Exit standard variable 0P_KEYDT in the infoobject Posting Date (0PSTG_DATE), and i need use this variable with the Document Date (0DOC_DATE), but i don´t have it in the infoobject. Both infoobjects are referenced by 0DATE.

  • My brand new ipod touch 5h generation doesnt charge and doesn´t turn on!!!! Help!!!!

    I just purchase a brand new ipod touch 5th generation, and it doesn´t charge and doesn´t turn on etheir. Has I sad, is a brand new ipod that a bought at a dutty free. What can I do?

  • Copying editable text to other apps

    Hi all, I'm having a little problem that I can't find an answer for anywhere. I had CS2 on my old Mac PowerPC (10.3.9) and upgraded to CS4 on a new iMac (10.5.8). In my old set-up when I selected text from Illustrator and copied it to another app it

  • When I cut/paste articles from the web, images aren't pasted

    Hi. I cut and paste lots of articles from websites into documents. When I do this on my iPad Air, none of the images in the articles gets pasted into my document; only the text is copied. I DO NOT have this problem on my Chrome Book, my HP laptop, or

  • SAP MMC and Trace Files

    Hi I want to get complete information on the "exit codes"  in SAP MMC for various server and other processes. And also want to know that what are the various log files and trace file .what kind of logs/information they provide and if the Portal has b