mozeryansky
Forum Replies Created
-
Forum: Plugins
In reply to: [Gmail SMTP] Too many permissionsI’m not sure why there are Authentication failures, but I think a plugin that only sends email should not have the ability to read and delete my emails. Full permissions also allow editing my gmail settings.
The scopes detail that the full scope should not be used so liberally: “Full access to the account, including permanent deletion of threads and messages. This scope should only be requested if your application needs to immediately and permanently delete threads and messages, bypassing Trash; all other actions can be performed with less permissive scopes.”
Forum: Plugins
In reply to: [Gmail SMTP] Too many permissionsIt has to do with the scope being set. Currently the scope is ‘https://mail.google.com/’ which asks for all permissions, but the scope should be ‘https://www.googleapis.com/auth/gmail.send’.
https://developers.google.com/gmail/api/auth/scopes
Can you change this line:
$google_client->setScopes ( 'https://mail.google.com/' );
to:
$google_client->setScopes ( 'https://www.googleapis.com/auth/gmail.send' );Forum: Plugins
In reply to: [Penguin Integration] ShorttagsThank you, I forgot wordpress prefers that method.
The plugin has been updated.