Sending your email database to your GMail account
After I got my GMail account, I wanted to transfer all my local emails there. Why? I don’t know, beacause it doesn’t seem like the best thing to do. I tried Mark Lyon’s Google Mail Loader, but it kept locking up, so I wrote a little php script to read an mBox file and send the emails it contains one by one to a GMail account.
Copy the source from this page to a php file or get the gzip file, uncompress and host it on your own web site, but make sure no one has access to it, as it can be used to send span or whatever to any account. When you load it up in your browser, it will ask you for your GMail address and the mBox file to send. Click on ‘go’ and it starts sending your emails. It sends one every three seconds, so sending a whole database might take a while…