# GMailer won't connect

**URL:** <https://www.ruby-forum.com/t/gmailer-wont-connect/81173>\
**Category:** Ruby\
**Created:** [January 5, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/gmailer-wont-connect/81173 "2007-01-05T20:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [January 5, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/gmailer-wont-connect/81173/1 "2007-01-05T20:31:37Z")

</div>

I’m trying to integrate the GMailer libray into my rails project but I’m  
having problems even making a selection.

using

foo = GMailer.connect(“cpjolicoeur”, “mypassword”)

I get the following error.

RuntimeError: Not connected, verify the credentials.  
from ./script/…/config/…/config/…/lib/gmailer.rb:123:in  
`initialize' from ./script/../config/../config/../lib/gmailer.rb:1767:in`new’  
from ./script/…/config/…/config/…/lib/gmailer.rb:1767:in  
`connect’  
from (irb):2

has GMail changed their protocol or am I doing something incorrect?

---

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [January 6, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/gmailer-wont-connect/81173/2 "2007-01-06T19:31:05Z")

</div>

Hi,

> `connect’  
> from (irb):2
> 
> has GMail changed their protocol or am I doing something incorrect?

First, try with the latest version gmailer 0.1.4.

If ithat does not help, please send me the debug output  
after removing # of np.set\_debug\_output($stderr) in gmailer.rb.

Regards,

Park H.

---

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/gmailer-wont-connect/81173/3 "2007-01-19T16:29:54Z")

</div>

Random tangent, there’s a Python library which allows you to use Gmail  
as a network drive on Linux.
