ruby on rails - How can I download all the emails from gmail acount to my local machine -
i newbie on ruby on rails , gems...if 1 me figure out gems or script downloads emails gmail local machine
i heard ruby 'net/imap'
but using not able fetch or authenticate
imap = net::imap.new('mail.google.com') imap.authenticate('login', 'bmonal125', 'aaaa')
please suggest me ...
i need kind of technical suggestion overcome it
thanks in advance
have @ http://rubydoc.info/gems/gmail, there detailed examples on how authenticate , retrieve messages.
if authentication not work, quite possible imap access not configured in gmail. have @ support.google.com/mail/troubleshooter/1668960?hl=en#ts=1665018 on how enable it
Comments
Post a Comment