netty SSL trouble with gmail server

Trustin Lee trustin at gmail.com
Wed Dec 23 00:53:12 EST 2009


GMail IMAP server is known to be strict about the end-of-line markers. 
Sending LF (\n) only doesn't work.  You have to send CRLF (\r\n).


maiziqing wrote:
> 
> I'm sure that I'm following the IMAP4 protocol,
> the problem is is't ok when I worked with the aol(American On Line) email
> server, with  
> ssl mode, and some other email server are also ok.
> But only the gmail server does't work well.
> 
> When I use MINA as the communicaition frame, all email server is ok.
> 
> 
> 
> John D. Mitchell wrote:
>> 
>> Are you *sure* that you're following the IMAP protocol? It sounds like  
>> you might be missing the sequence numbering on the commands.
>> 
>> I've done lots of IMAP work but none with Netty yet so this is  
>> definitely FWIW.
>> 
>> Hope this helps,
>> John
>> 
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>> 
>> 
> 
> 


-----
— Trustin Lee, http://gleamynode.net/
-- 
View this message in context: http://n2.nabble.com/netty-SSL-trouble-with-gmail-server-tp4201521p4207381.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list