0 顯然是(從here): Gmail支持用於訪問和發送電子郵件消息的標準IMAP和SMTP協議。 Gmail IMAP和SMTP服務器已擴展爲通過行業標準OAuth協議支持授權。 來源 2011-12-02 10:00:24 Nasreddine +0 那麼我們該如何做到這一點? – +0 @huanson Google爲Java,Python和PHP提供了示例[此處](http://code.google.com/apis/gmail/oauth/code.html)。詳細說明該協議的文檔可在此處找到(http://code.google.com/apis/gmail/oauth/protocol.html)。您也可以使用[gmail_xoauth](https://github.com/nfo/gmail_xoauth)gem。 – Nasreddine
那麼我們該如何做到這一點? –
@huanson Google爲Java,Python和PHP提供了示例[此處](http://code.google.com/apis/gmail/oauth/code.html)。詳細說明該協議的文檔可在此處找到(http://code.google.com/apis/gmail/oauth/protocol.html)。您也可以使用[gmail_xoauth](https://github.com/nfo/gmail_xoauth)gem。 – Nasreddine