The previous post provided a command that deletes all emails sent to an email address. You can also use this command when you log directly into your server via ssh (assuming your hosting provides allows this type of access). I highly recommend SSH secure shell client.











I would like to delete over 3,000 e-mails but don’t know how. Pleasee help!!!
Yes, I\’ve had this problem. If you know how to use SSH and have SSH access (some hosting companies do not allow it), run the following command that quickly deletes all those emails all at once:
echo -n > /home/youraccount/mail/inbox
(Replace youraccount with your site login name (for example, the name you use to FTP to your site).
If you do not have SSH access, or do not know how to SSH, the easiest way I know is to set up a cron job in cPanel and then forget about the cron job. The cron job will run. When it does, all your email will be deleted. Cron jobs are easy. If you are new to cron, do not be scared off. cPanel makes them easy to set up.
Details of setting up this cron job to delete all emails are in an older post: http://www.cpanelsupport.net/?p=26