Cliff Rosson wrote in post #1110540:
> Try connecting first. That works for me.
>
> require 'highline/import'
> require 'gmail'
>
> password = ask("Password: ") { |q| q.echo = "*" }
>
> @gmail = Gmail.connect("cliff.rosson / gmail.com", password)
>
> email = @gmail.compose do
>     to "cliff.rosson / gmail.com"
>     subject "blah blah blah"
>     body "blah blah blah"
>   end
>
> @gmail.deliver(email)
> @gmail.logout

just for info: the above code works for me, with my name off course:)
regards
seba

-- 
Posted via http://www.ruby-forum.com/.