[LRUG] pop3 imap gmail

Stephen Bartholomew steve at curve21.com
Mon Mar 10 10:41:41 PDT 2008


If you're using ruby 1.8, you won't be able to connect as gmail  
requires SSL  - ruby's pop library does not support this until 1.9.    
You can get round this though by copying the code from the 1.9 code  
and requiring it as a seperate library.

If have sample code for this which I'll post when I'm back in the  
office. :-)

Steve

On 10 Mar 2008, at 17:36, "aidy lewis" <aidy.lewis at googlemail.com>  
wrote:

> If I start at the beginning. I get time out on  authentication
>
>
>
>    require 'net/pop'
>
>    Net::POP3.auth_only('pop.gmail.com', 110,
>                        'testautomated at googlemail.com',  
> 'password123')
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org



More information about the Chat mailing list