2016-06-10 76 views
0

我通過web界面創建雅虎電子郵件,已啓用POP3訪問(設置自動),但仍得到以下錯誤:雅虎不正確的用戶名或密碼?

poplib.error_proto: -ERR [AUTH] (#MBR1212) Incorrect username or password. 

我的Python腳本。

import poplib 
oMailBox = poplib.POP3_SSL('pop.mail.yahoo.com', port=995) 
oMailBox.user(username) 
oMailBox.pass_(password) 
+1

您使用了完整的電子郵件地址,而不僅僅是用戶名? –

+0

是的,用戶名和密碼是正確的,我相信 – comalex3

+0

這裏是你需要的設置,除此之外,我不知道你的問題可能是 - https://help.yahoo.com/kb/SLN4724。 html –

回答

1

我只是用我的雅虎帳戶代碼試過,我也得到了同樣的錯誤,但我也有一個輔助電子郵件,告訴我,當無法識別的訪問發生在該帳戶上,在這種情況下,我看到下面的消息。

似乎儘管您可能還必須禁用帳戶的安全性並啓用POP3。

Someone attempted to sign in to your Yahoo account ({ACCOUNT_NAME}) from an app that doesn't meet Yahoo's security standards. We blocked this sign in attempt, which was made on:

{DATE} from {LOCATION}.

If you were trying to sign in, then please take one of these actions:

Option 1 (recommended): Use mail.yahoo.com or the Yahoo Mail app for Android and iOS to more securely access your account.

Option 2 (not recommended): If you still want to use an app that uses less secure sign in to your Yahoo account:

Click here: https://login.yahoo.com/account/security#other-apps

Turn on "Allow apps that use less secure sign in"

Go back to your existing email application and sign in to your Yahoo account again.

Using apps that don't meet Yahoo's recommended security standards may leave your account more vulnerable or less secure.

相關問題