gmailer not connecting go gmail account.

0 views
Skip to first unread message

Karthikragunath Bhavani

unread,
Dec 31, 2009, 1:47:34 AM12/31/09
to rubyonra...@googlegroups.com
hi all i have installed gmailer gem and when trying to connect with my
gmail account using it im getting the error "RuntimeError (Not
connected, verify the credentials.)".

Code i used are as follows:

require 'rubygems'
require 'gmailer'

GMailer.connect("mai...@gmail.com","password") do |g|

g.send(

:to => "kar...@symbiountech.com",

:subject => "Mail from application",

:body => "mail from application"

)

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

Reply all
Reply to author
Forward
0 new messages