3

我正在尝试使用 REBOL/Command 创建小型邮箱,但我无法连接到我的 gmail 帐户,因为 pop 服务器是通过端口 995 上的 SSL 访问的。

>> pop: open/lines ssl://pop.gmail.com:995
>> set-modes pop [secure: true]
>> print first pop
+OK Gpop ready for requests from 213.240.224.162 7mb34713954eem
>> insert pop "user ******@gmail.com"
>> print first pop
+OK send PASS
>> insert pop "pass password"
>> print first pop
+OK Welcome.

我尝试使用此代码连接服务器,但收到错误消息:

>> port: open/lines ssl://pop.gmail.com:995
>> set-modes port [secure: true]
>> mailbox: open pop://
connecting to: pop.gmail.com
** User Error: Server error: tcp connection failed
** Near: mailbox: open pop://
>> mailbox: open pop://:995
connecting to: pop.gmail.com
** User Error: Server error: tcp connection failed
** Near: mailbox: open pop://:995

有谁能够帮我?

4

2 回答 2

1

有关 rebol/command 的 spop 协议,请参见http://re-bol.com/prot-spop.r

我在某个地方也有 Rebol3 的版本。Saphir/Atronix 的 R3 具有 https。

于 2014-02-18T18:18:09.183 回答
0

pop 方案不支持 ssl。您可以尝试使用 ssl 编写自己的 pop 方案。我猜 Graham Chiu 做过一次。

于 2014-02-18T17:58:10.390 回答