ページ

2014年3月23日日曜日

Gmailからのメール取得

   RAIDの操作の手違い・勘違いで、これまで受信してきたメールを失ってしまった。 バックアップは1年前。 どうやっても空白期間が出来てしまうが、せめて今、Googleの中にあるメールだけは全部を取り出したい。 ということでインターネット上で見つけた情報をメモ代わりにブログへ記載。 ここへ辿り着き「なーんだあの情報じゃないか」だった方、悪しからずです。

   そして最終的に、普段使いのメール・クライアント・ソフトのPOP3受信箱にメッセージを入れ込んだ手順は、サーバーに残っていた全メールをIMAPに設定したメール・クライアント・ソフトで読み込んで、それをmbox形式にエクスポート。
   次にPOP3アカウント(メール・ボックス)を作り、そこへインポートした次第。 Gmail (Webベース上)で行ったのは、POPを有効にした事と、「全メール」を「受信トレイに移動」の手順でしたが、メール・クライアント・ソフトをIMAPに設定して表示されたメッセージ数は、「全メール」で表示された数よりだいぶ多い数字でした。
 また、始めの手順では、頑張ってもダウンロードできないメール (Web上では表示されていても) がありましたが、それも問題なく読み込めた様子です。

   これがうろ覚えなのですが、メール・クライアント・ソフトの設定の「アカウント」は、全メールを読み込む時にはそのままメールアドレスを打ち込み、通常運用を始めるときには、アカウント(メールアドレス)の前に「recent:」を付加したと思います。 「recent:」についてはGoogleのヘルプで参照できます。

参照元: http://helpdeskgeek.com/how-to/export-all-email-from-gmail/

Enable POP3 or IMAP Access
First, go to your Gmail account and click on the Settings button at the top right. Now click on the Forwarding and POP/IMAP tab.


Now depending on the email client you are using, you can choose to enable POP, IMAP or both. If you want to download all of your emails, make sure to choose the Enable POP for all mail option.

Note that you can read the full instructions on how to setup your email client by clicking on the Configuration instructions link right below the IMAP Access section.

Move Email to Inbox
Secondly, depending on which client you are using, you may have to temporarily move all your archived emails back into the Inbox so that they can be downloaded by the email client.

The nice thing about Gmail is that this is not really hard to do and it’s not hard to re-archive everything after the mail has been downloaded.

Log into your Gmail account and click on All Mail in the left hand column. Now click on the All link next to the Select option and you’ll see a new option to select all the email in your account from the very beginning.


Go ahead and click on Select all XYZ conversations in All Mail. Now simply click on the Move to Inbox button. This will move everything to the Inbox and will retain all your labels, so don’t worry about that.

Finally, you’ll go ahead and follow the instructions to setup Gmail with Outlook or Thunderbird and your emails should begin downloading. Depending on how many emails you have, it can take quite a while for everything to get downloaded.

Also, be sure to check the box to Leave a copy of the message on the server. You don’t want to download the emails and have them deleted from Gmail.