ItGo.me Focus on IT Recommend

Home > pop3 - How to download an email from gmail

pop3 - How to download an email from gmail

I am trying to make small mailbox with REBOL/Command, but I cannot connect with my gmail account because the pop server is accessed through 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 with server with this code, but I receive 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 anybody help me?

gmail pop3 rebol rebol2
edited Jun 25 '14 at 1:51 Jonathan Leffler 467k 66 539 863 asked Feb 18 '14 at 13:28 Ilia Iliev 21 3

 | 

2 Answers
2

---Accepted---Accepted---Accepted---

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

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

Recommend:asp.net - How to fetch new mail from Gmail Inbox using POP3 Command

my account. But i can fetch only 255 oldest mail. Help me to fetch new mail from my inbox. public double GetEmailCount() { double count = 0; string response = SendCommand("STAT"); if (IsResponseOk(response))


answered Feb 18 '14 at 18:18 Graham Chiu 3,256 13 25      Thank you, Graham ! –  Ilia Iliev Feb 19 '14 at 7:50

 | 

The pop scheme does not support ssl. You could try to write your own pop scheme with ssl. I guess Graham Chiu did that once.


edited Feb 18 '14 at 18:37 answered Feb 18 '14 at 17:58 sqlab 3,645 1 5 22      Thank you, sqlab ! –  Ilia Iliev Feb 19 '14 at 7:51

 | 

Recommend:c# - Pop3 and gmail email deleted after download

t deletes from pop3 server. I have tried sending RSET command to server but it dose not work. Do i have to send RSET just before disconnecting or after downloading each mail c# gmail pop3 gmail-pop share | improve this question edited Jul

oriUlr:http://stackoverflow.com/questions/21855329/how-to-download-an-email-from-gmail

------splitte line----------------------------