gmailgem / gmail

A Rubyesque interface to Gmail, with all the tools you'll need.
Other
397 stars 119 forks source link

Sign-in attempt prevented #209

Closed amoludage closed 4 years ago

amoludage commented 8 years ago

Hello,

I'm trying to login with gmail but I'm not able to login, I got email into my inbox i.e

 Sign-in attempt prevented.

 Hi Amol,
    Someone just tried to sign in to your Google Account test123@gmail.com from an app,
    that doesn't    meet modern security standards.
    - -
    - -
   Google stopped this sign-in attempt, but you should review your recently used devices:

Any help??

cowboygneox commented 8 years ago

Google's advice is as follows: https://support.google.com/accounts/answer/6010255?hl=en

cowboygneox commented 8 years ago

However, if someone knows how to conform to Google's "security standards", it would be nice to integrate into this gem.

cowboygneox commented 8 years ago

However, for something like this, maybe OAuth is the way to go. Credentials are becoming less of a trusted source anyway....

NazarK commented 8 years ago

direct link for turn on "Access for less secure apps" https://www.google.com/settings/security/lesssecureapps

johnnyshields commented 4 years ago

As of version 0.7.0 (Aug 19, 2018) this gem is officially deprecated and will no longer be maintained. Please instead use Google's official Gmail API Ruby Client, which uses the Gmail API rather than IMAP and has significantly better performance and reliability.