Helping people with computers... one answer at a time.

Depending on what email program you use, deleted emails may or may not be really deleted.

It is said that "deleted files" are never completely erased unless you actually do so with the proper software. Does this also refer to emails? Once I erase an email (incoming or outgoing copy), does that stick around somewhere also?

In order to make the operation fast, when you delete a file, the operating system typically just sets a flag or removes an entry from a directory - the actual data within the file is left on disk to be reused later. Does the same apply to email messages?

In short: maybe.

First, let's be clear: when you delete a file in many email programs they're actually moved to a recycle bin so you can often find them there until the recycle bin is emptied. When you empty the recycle bin, then the messages are actually deleted.

The problem is that different email programs all use different approaches to storing their email. As a result, there's no one answer as to what happens when they delete a message.

One clue is if the email program provides a "compact" function for its email storage. That implies that the file will grow as email arrives, but when files are deleted the file doesn't get smaller until you compact. That implies that like a file system, messages that are deleted are simply marked without freeing up the space immediately. Like file systems, as long as new messages haven't overwritten where the deleted messages used to be, then it might be possible to actually retrieve deleted messages. It might need special tools, but it could be possible.

One caution is that some email programs automatically rewrite or compact their files on exit, so this might only work if you make a copy of the email files before exiting the program.

And finally, all of this applies to email that's downloaded to your system. Web-based email like Hotmail or Yahoo, server-based email systems like Microsoft Exchange, or IMAP servers add another level of complexity that makes deleted email that much less likely to be retrievable.

Article C2274 - February 2, 2005 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
96 Comments
Mark J
April 24, 2012 1:06 AM

@Tim
Spam sent from your email account is not usually a symptom of a virus on your computer. It is a sign of your email account being hacked.
Someone's sending email that looks like it's from me to my contacts, what can I do?

arifgandapur
May 13, 2012 12:20 PM

i delet my email from sent items i have some very important pics there plz help me tel me how i can get back these pics and email

julie
June 13, 2012 11:48 PM

I need to recover some emails from the 1st of April to 31st May . I used gmail from my phone but it aslo appeared on my pc.. Plse help

Thomas
August 24, 2012 6:19 PM

don't use hotmail ever and go to gmail. hot mail has more spam and other junk and more popups

Marg
January 19, 2013 8:12 PM

Why are all my emails and deletes going into my hotmail mail box?. Outlook express processes incoming,outgoing and deleted emails.