Re: POP3 Handshake for Gmail

2008-11-05 Thread Patrick Patterson
On November 4, 2008 08:14:51 pm Florent Blanchon wrote: > Hello, > > I'm programming an application to know the number of Unread Mail in my > Gmail Account. > It use openssl for the ssl protocol > > below are the lines code when I want to communicate : > > SSL_read(SSL_fd,buf1,200);i = sprintf

POP3 Handshake for Gmail

2008-11-04 Thread Florent Blanchon
Hello, I'm programming an application to know the number of Unread Mail in my Gmail Account. It use openssl for the ssl protocol below are the lines code when I want to communicate : SSL_read(SSL_fd,buf1,200);i = sprintf(buf, "USER %s\n", login); SSL_write(SSL_fd,buf,i);Sleep(100); SSL