How to download an email from gmail

I am trying to make a small mailbox with REBOL / Command, but I can’t connect to my gmail account because the pop server is accessing via SSL on port 995.

>> 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.

I try to connect to the server using this code, but I get an error message:

>> 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

Can someone help me?

+3
source share
2 answers

See http://re-bol.com/prot-spop.r for the spop protocol for the rebol / command.

I also have a version for Rebol3. Saphir / Atronix R3 has https.

+1
source

Pop scheme does not support ssl. You can try writing your own pop scheme using ssl. Graham Chiu must have done this once.

0
source

All Articles