1. Hi and welcome to everythingiCafe, the world's first and best iPhone community! We hope you'll considering joining our awesome iPad and iPhone forums today to gain access to unmatched member benefits including the free everythingiCafe app. Members also enjoy a completely ad-free experience. Sign up today!
  2. Take our new mobile template for a spin and experience blazing fast access. Here's how to change your template.

Can't delete e-mail > they keep reappearing!

Discussion in 'iPhone' started by Colin, Feb 13, 2008.

  1. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    Weird problem. I have a few instant notification messages from forums that won't delete. The messages do not show any information, only: (No sender) and (no subject) in the message title. I know which forum it is from because the first few lines are displayed. I've turned off message forwarding, and deleted them from my server.

    When I delete the message, it moves to the trash, then a new one appears with exactly the same information in the title etc. only the date stamp is updated. There are 4 of these that won't go away. A copy of the message goes to the trash but the new ones are in the 'in box'

    Once in the trash, I can delete them BUT there is another message that won'd delete from the trash!? I've powered off and powered on and no change. Any thoughts?
  2. up10ad Zealot

    Message Count:
    2,754
    Likes Received:
    12
    What mail account, Yahoo, Gmail, another IMAP server? Could it be a push issue not updating IMAP properly?
  3. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    It's just a regular POP server from my website host. Also, server side things probably wouldn't explain why I can't delete the mail from the trash?
  4. up10ad Zealot

    Message Count:
    2,754
    Likes Received:
    12
    Very strange, how about removing the account and adding it again.
  5. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    FWIW, I did a hard reset (sleep+home) and there is no change.

    It sucks to see 4 new messages showing all the time!
  6. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    ooops, sorry you snuck your reply in above my last post. If i delete the account,will it remove the messages? Anyway,I'll give it a try.
  7. Buffy Zealot

    Message Count:
    2,313
    Likes Received:
    0
    This happens to me as well. I've never really been too bothered by it; when I delete the messages off my main account from my computer and then delete them from my phone, they go away.
  8. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    Ok I deleted the e-mail account and all the messages disappeared. When I reinstalled the account I now have 6 messages showing that won't delete, and 4 in the trash that won't go away!
  9. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    More info, when you click the message header, it takes you to the message page but it never loads. I have the little spinning icon saying loading....
  10. up10ad Zealot

    Message Count:
    2,754
    Likes Received:
    12
    I completely forgot about the mailfix issue, give it a try. Add the Big Boss source to your Installer, it is http://sleepers.net/iphonerepo, after it refreshes you should see an item called 1.1.3 Mailfix Give it a try, it fixed my inability to load mail, maybe it will help with your message delete problem.
  11. Colin New Member

    Message Count:
    487
    Likes Received:
    0
    I ended up restoring the entire phone. This solved the issue and although a pain, it was mostly inconvenient. Thanks for the suggestions.
  12. rawdmon New Member

    Message Count:
    3
    Likes Received:
    0
    I had the same problem and found an easy way to fix it. This only works if your iPhone is jailbroken and you are able to login to it via SSH.

    1. Login via SSH (as root).
    2. Issue the command: rm /private/var/mobile/Library/Mail/Envelope\ Index

    That will remove the Envelope Index database (it is a MySQL lite database). I originally tried going in to the database itself to delete the offending message but this did not work. After removing the database the Mail app pulled down the emails in my Inbox again and automatically created a new database. This resolved the issue.

    In short, the issue itself is caused by items being in the database when they are no longer on the mailserver. If apple isn't planning on fixing the code that causes this issue to begin with, it would be lovely if they'd add an option to the mail settings which allows you to flush the database and start fresh (to resolve issues such as this when they arise).
  13. up10ad Zealot

    Message Count:
    2,754
    Likes Received:
    12
    WOW! Your first post and it is to a thread that is two and a half years old. At least you were trying to help.
  14. rawdmon New Member

    Message Count:
    3
    Likes Received:
    0
    I was well aware that the thread is 2 years old. I replied because this is still an issue that people run in to. I also replied as this thread shows up in the top 3 google results when searching for "iPhone emails won't delete" or "iPhone emails can't delete" and other similar variations. It took me a while to figure out the fix and I have advanced experience with unix commandline. I figured I'd post the fix to avoid other people having to dig for a solution and potentially not find any.
  15. up10ad Zealot

    Message Count:
    2,754
    Likes Received:
    12
    Not a problem, I was just taking notice. As I said, at least you were on topic and offering a solution for folks that are JB.

Share This Page