Gmail で K-9 Mail の設定(常に更新)

どちらも少しリッチすぎてわかりづらい。
かといって他にまともなメーラーがない。
設定はどれがベストなのかを追求する。
古いことよりか新しいこと。
ややこしいことよりかんたんなこと。
そんなポリシーで。

どうにかしたいこと(2011/11/27現在)

  • 送信失敗時の挙動がよくわからないので相手に連続メールしてしまう。
  • デフォルトでインストールされているGmailアプリとの折り合い。
  • IMAP利用時のフォルダの表示が無駄にいろいろ表示されたり、されなかったり。

Gmailの設定

現状このサイトがわかりやすい。http://travel-lab.info/tech/pblog/article.php?id=164

  • IMAPを使う。
  • IMAPディレクトリに"[Gmail]"と設定しておくと、重複なフォルダが表示されなくなりわかりやすい。

K-9 Mailの設定

クラスの意味がよくわからん。
設定機能UIがツリーすぎてカオス。

設定のエキスポート機能でXMLを書きだすといろいろ分かる。
各設定の親子関係やアカウント別の設定の差が確認しやすい。

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<k9settings version="3" format="1">
  <global>
    (...グローバル設定...)
  </global>
  <accounts>
    <account uuid="xxxxxxxxxx">
      <name>example@gmail.com</name>
      <incoming-server type="IMAP">
        <host>imap.gmail.com</host>
        <port>993</port>
        <connection-security>SSL_TLS_REQUIRED</connection-security>
        <authentication-type>PLAIN</authentication-type>
        <username>example@gmail.com</username>
      </incoming-server>
      <outgoing-server type="SMTP">
        <host>smtp.gmail.com</host>
        <port>465</port>
        <connection-security>SSL_TLS_REQUIRED</connection-security>
        <authentication-type>AUTOMATIC</authentication-type>
        <username>example@gmail.com</username>
      </outgoing-server>
      <settings>
        (...設定...)
      </settings>
      <identities>
        <identity>
          <name>差出人の名前</name>
          <email>example@gmail.com</email>
          <description>差出人情報の初期設定</description>
          <settings>
             (...個人情報設定...)
          </settings>
        </identity>
      </identities>
      <folders>
        <folder name="INBOX">
          (...フォルダ設定...)
        </folder>
      </folders>
    </account>
  </accounts>
</k9settings>
  • グローバル設定
  • アカウント設定
    • アカウント名
    • 受信サーバ
    • 送信サーバ
    • 設定
    • 個人情報設定
    • フォルダ設定