-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting other scopes for GMail #19
Comments
@mky300 did you manage to solve this issue ? I have exactly the same problem. |
@david-navigator unfortunately not, had to go with the full scope |
@mky300 Having done a load of research & reading I've discovered that if you want to access GMail via SMTP, POP or IMAP then the only way is to use the https://mail.google.com/ scope. If you want to use a lower scope then you need to use REST via https to send/Read emails and ignore the common protocols. |
First off - great work on this, works like a charm with the included scope - but just might raise some eyebrows as it requires read and delete access to email.
Advice to others compiling on Delphi 10.1, add IPPeerClient to the uses clause, and cast TIdBytes to TBytes on the logging routines.
Any chance someone can help me with changing the scope to a more restricted scope - ie. gmail.send or gmail.compose?
ie. https://www.googleapis.com/auth/gmail.send
Listed here: [(https://developers.google.com/gmail/api/auth/scopes)]
These are all the rights that should be required for sending email, but if I try to apply that to the scope, it has an error saying issue with username/password which I think is just a general rights error really.
The text was updated successfully, but these errors were encountered: