In inbox reply to any message and add some address (eg some@some.com) in the CC address field, save it as draft.
When using g.messages(:standard => "inbox").each_msg, error occurs:
NoMethodError: private method `gsub' called for ["todd@spontent.com"]:Array
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:1705:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:1653:in `each'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:1653:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:1246:in `new'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:1246:in `snapshot'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:553:in `fetch'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:2030:in `each_msg'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:2029:in `each'
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:2029:in `each_msg'
from (irb):11
from /usr/lib/ruby/gems/1.8/gems/gmailer-0.2.1/gmailer.rb:2266:in `connect'
Tested under Leopard 10.5.2 and Ubuntu 7.10, with gmailer 0.2.1. |