Gmail imap 发送邮件

1. 开启GMAIL的POP3 IMAP

点设置

wKiom1TE5d3Ss8sVAAA-B4iYePg825.jpg


wKioL1TE5yHDIm2-AAM4hGDWbPI410.jpg


2. 安全

wKioL1TE54eS8U8iAABEE1A8uME253.jpg

应用专用密码可以填入phpmail里.


==================================================

错误提示:

SMTP -> ERROR:Password not accepted from server.
Code: 535
Reply: 535-5.7.1 Please log in with your web browser and then try again.

SMTP -> ERROR: Password not accepted from server: 534-5.7.14
Please log 534-5.7.14 in via your web browser and then try again. 534-5.7.14 Learn more at https://support.google.com/mail/bin/answer.py?answer=787 534 5.7.14 54 tr10sm54899095pbc.22 - gsmtp

https://accounts.google.com/b/0/DisplayUnlockCaptcha



gmail 问了防止别人破解密码 即便密码正确 也会封, 比如服务器的ip变了。


你可能感兴趣的:(Gmail,imap)