正文
配置Yandex郵箱總出問題,因為網(wǎng)上的基本上沒有提到Y(jié)andex如何配置SMTP的用戶名,而且一般情況都是直接填郵箱,但恰恰Yandex一般情況不是填郵箱!我找了Yandex mail的文檔才解決問題。解決辦法及其他補充如下:
·在Yandex Mail All settings→Email clients下依次勾選Use a mail client to retrieve your Yandex mail>From the imap.yandex.com server via IMAP>IMAP authorization method>App passwords and OAuth tokens
·然后到這個頁面創(chuàng)建單獨密碼,當(dāng)然你要不介意安全問題也可以直接勾選IMAP authorization method>Portal password
·利用Yandex搭建個人域名郵箱服務(wù)的,填個人域名全稱,比如a example.com;僅僅注冊Yandex郵箱服務(wù)的,填郵箱 之前的名稱,比如若你的郵箱是xiaoming yandex.com那么就填xiaoming
·必要:啟用SMTP_SECURE為true,端口為465
Yandex報錯部分
如果你遇到了以下這些報錯-“No connection to server”.
·“Authentication required”.
·“Sender address rejected:Access denied”.
·“Send auth command first”.
·“Sender address rejected:not owned by auth user”.
·“Login failure or POP3 disabled”.
請先檢查你是不是在Yandex Mail上配置的個人域名,如果不是,請仔細閱讀上一個標(biāo)題內(nèi)容,如果是,請看這里解決問題;如果以上報錯沒包含你的情況,請看這里。