【发布时间】:2013-09-05 11:22:21
【问题描述】:
我正在编写一个程序,它可以访问用户的 gmail 帐户,然后显示未读电子邮件。 我不确定我应该使用什么网址
curl_easy_setopt(curl, CURLOPT_URL,"urlhere")
我在读完这个问题后问这个
我已经试过写 "mail.google.com" 了,还是不行。
根据这里的链接
http://email.about.com/od/accessinggmail/f/Gmail_POP3_Settings.htm
Gmail POP server address: pop.gmail.com
Gmail POP port: 995
所以我尝试了
"pop3://pop.gmail.com:995"
但它返回 CURLE_RECV_ERROR 表示 “从对端接收数据失败”。
【问题讨论】: