範例
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Mail Importer for Gmail
Gmail 的郵件匯入工具是 Google 的開放原始碼專案,可將 Thunderbird 郵件封存檔的內容上傳至 Gmail,並盡可能保留郵件的已讀狀態、標記狀態和資料夾。這項程式是以 Java 編寫,並使用 Messages.import 端點。
複製 GitHub 存放區即可取得完整原始碼,或瀏覽 Gmail 相關程式碼。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-24 (世界標準時間)。
[null,null,["上次更新時間:2025-03-24 (世界標準時間)。"],[],[],null,["# Samples\n\nMail Importer for Gmail\n-----------------------\n\nMail Importer for Gmail is an open source project from Google that uploads the\ncontents of a Thunderbird mail archive to Gmail, doing its best to preserve the\nread state, flagged state, and folders of the messages. It is written in Java\nand uses\n[Messages.import](/workspace/gmail/api/reference/rest/v1/users.messages/import)\nendpoint.\n\nClone the [GitHub repository](https://github.com/google/mail-importer) to get\nthe full source code, or browse the [Gmail-related\ncode](https://github.com/google/mail-importer/tree/master/src/main/java/to/lean/tools/gmail/importer/gmail)."]]