Tag: gmail

Python 從 Gmail 帳號發送郵件

以下文章會介紹用 Python 使用 smtplib 連接到 Gmail 的 SMTP 伺服器, 並發出電子郵件的方法。 但在開始前, Google 帳號是使用雙重認證密碼, 如果直接在 Python code 內輸入 Google 密碼, 會回傳以下報錯: smtplib.SMTPAuthenticationError: (534, b’5.7.9 Application-specific password required. Learn more at\n5.7.9 …

iPhone Mail App 設定 Gmail 推送通知

在 iPhone 使用預設郵件 App 接收 Gmail 郵件, 不會有推送通知, 最簡單的解決方法是用 iOS 版的 Gmail. 如果像我一樣使用 Google Wordspace 的收費服務, 又想要 Mail App 的話, 可以用以下方法設定。 在 iPhone 進入 “設定” -> “郵件” -> “帳戶” …