[英]How to use IMAP on localhost for gmail?
I am making application that is a simple mail client.我正在制作一个简单的邮件客户端应用程序。 But when I try imap_open()
for gmail account with valid password and username it says unvalid credetinals
and I recieve mail tried to access from non secure medium in my gmail specified in the function imap_open()
How can I make this function working in localhost
?但是,当我使用有效的密码和用户名为 gmail 帐户尝试imap_open()
,它说unvalid credetinals
并且我收到了试图从函数imap_open()
指定的 gmail 中的非安全介质访问的邮件,如何使该函数在localhost
工作?
尝试 github 上提供的 IMAP 库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.