[racket] pop3 connection

From: Sayed Khader (askhader at uwaterloo.ca)
Date: Thu Dec 16 00:41:45 EST 2010

Hello

I'm writing with regards to the net/pop3 library. I'm attempting to use it
to pull emails from my gmail account. The connection I am trying to
establish is very basic. As per the GMail connection specification (
http://mail.google.com/support/bin/answer.py?hl=en&answer=13287) I make the
following function call

(define mp (connect-to-server "pop.gmail.com" 995))

And after thirty or so seconds, I receive the following error

regexp-match: expects type <string, byte string, or input port> as 2nd
argument, given: #<eof>; other arguments were: #rx"^\\+OK(.*)"

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101216/64360d37/attachment.html>

Posted on the users mailing list.