We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

Backup, backup and backup!!

A word to the wise, always make backups….. Particularly when you are testing a script that has the ability to delete emails!!!!!!!

LaCie Brick  250 GB

I was writing a script to delete some of my emails whilst I’m away, regular newsletters, advertising from holiday companies, you know the sort of stuff I’m talking about? Not spam, and not stuff I want to unsubscribe from – just stuff – stuff that I’ll only delete when I get home anyway.

Anyway, I screwed it up and an empty variable got passed into the cleanup script and has blown away my entire inbox. Luckily it’s my more spammy account that I signup to most things with, however I’m quite good at pruning it normally and it had over 700 posts in! GRR!

So a lesson, backup files and mailboxes before you run ANY automated scripts against them!
Creative Commons License photo credit: alvy

This entry was posted on Saturday, May 2nd, 2009 at 1:21 pm and is filed under Email Clients. You can follow any responses to this entry through the RSS 2.0 feed.